Fix ABI split configuration for updated Gradle plugin API (#3449)

* Fix ABI split configuration for updated Gradle plugin API

Updated the ABI split configuration in the build.gradle file to use the new syntax.
Replaced deprecated `reset()` method with the updated `splits.abi` configuration block and added `universalApk = true` to include a universal APK.

* Unresolved reference: universalApk

Unresolved reference: universalApk
This commit is contained in:
Tamim Hossain
2024-08-10 17:32:32 +06:00
committed by GitHub
parent 4570fdb05f
commit 0415b60ba5

View File

@@ -14,15 +14,19 @@ android {
versionCode = 580
versionName = "1.8.36"
multiDexEnabled = true
splits.abi {
reset()
include(
"arm64-v8a",
"armeabi-v7a",
"x86_64",
"x86"
)
splits {
abi {
isEnable = true
include(
"arm64-v8a",
"armeabi-v7a",
"x86_64",
"x86"
)
isUniversalApk = true
}
}
}
compileOptions {
@@ -50,13 +54,6 @@ android {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
splits {
abi {
isEnable = true
isUniversalApk = true
}
}
applicationVariants.all {
val variant = this
val versionCodes =