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:
@@ -14,15 +14,19 @@ android {
|
|||||||
versionCode = 580
|
versionCode = 580
|
||||||
versionName = "1.8.36"
|
versionName = "1.8.36"
|
||||||
multiDexEnabled = true
|
multiDexEnabled = true
|
||||||
splits.abi {
|
splits {
|
||||||
reset()
|
abi {
|
||||||
include(
|
isEnable = true
|
||||||
"arm64-v8a",
|
include(
|
||||||
"armeabi-v7a",
|
"arm64-v8a",
|
||||||
"x86_64",
|
"armeabi-v7a",
|
||||||
"x86"
|
"x86_64",
|
||||||
)
|
"x86"
|
||||||
|
)
|
||||||
|
isUniversalApk = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
@@ -50,13 +54,6 @@ android {
|
|||||||
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
splits {
|
|
||||||
abi {
|
|
||||||
isEnable = true
|
|
||||||
isUniversalApk = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
applicationVariants.all {
|
applicationVariants.all {
|
||||||
val variant = this
|
val variant = this
|
||||||
val versionCodes =
|
val versionCodes =
|
||||||
|
|||||||
Reference in New Issue
Block a user