Android: one APK for both ABIs in releases too
Drops the per-ABI release splits for abiFilters on arm64-v8a and x86_64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -87,6 +87,9 @@ android {
|
||||
targetSdk = 36
|
||||
versionCode = 1
|
||||
versionName = "0.1.0"
|
||||
ndk {
|
||||
abiFilters += listOf("arm64-v8a", "x86_64")
|
||||
}
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
@@ -101,15 +104,6 @@ android {
|
||||
}
|
||||
|
||||
// One APK per ABI for releases; debug builds stay a single APK for both.
|
||||
splits {
|
||||
abi {
|
||||
isEnable = gradle.startParameter.taskNames.any { it.contains("Release") }
|
||||
reset()
|
||||
include("arm64-v8a", "x86_64")
|
||||
isUniversalApk = false
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
signingConfig = signingConfigs.findByName("release")
|
||||
|
||||
Reference in New Issue
Block a user