Skip to content

Commit cf1142a

Browse files
committed
[skip ci] fix: disable APK splits for F-Droid build
- F-Droid expects single universal APK, not multiple architecture-specific APKs - Remove splits.abi configuration to fix build error in F-Droid CI - Pipeline failed with: 'More than one resulting apks found' (armeabi-v7a, arm64-v8a, universal) - Resolves F-Droid MR #31695 build failure
1 parent 359325b commit cf1142a

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

android/app/build.gradle.kts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,15 @@ android {
3535
includeInBundle = false // Also disable for AAB (Google Play)
3636
}
3737

38-
// Enable multiple APKs per ABI for smaller downloads
39-
splits {
40-
abi {
41-
isEnable = true
42-
reset()
43-
include("armeabi-v7a", "arm64-v8a")
44-
isUniversalApk = true // Also generate universal APK
45-
}
46-
}
47-
4838
// Product Flavors for F-Droid and standard builds
39+
// Note: APK splits are disabled to ensure single APK output
4940
flavorDimensions += "distribution"
5041
productFlavors {
5142
create("fdroid") {
5243
dimension = "distribution"
5344
// F-Droid builds have no proprietary dependencies
5445
// All dependencies in this project are already FOSS-compatible
46+
// No APK splits - F-Droid expects single universal APK
5547
}
5648

5749
create("standard") {

0 commit comments

Comments
 (0)