[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
This commit is contained in:
@@ -35,23 +35,15 @@ android {
|
|||||||
includeInBundle = false // Also disable for AAB (Google Play)
|
includeInBundle = false // Also disable for AAB (Google Play)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Enable multiple APKs per ABI for smaller downloads
|
|
||||||
splits {
|
|
||||||
abi {
|
|
||||||
isEnable = true
|
|
||||||
reset()
|
|
||||||
include("armeabi-v7a", "arm64-v8a")
|
|
||||||
isUniversalApk = true // Also generate universal APK
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Product Flavors for F-Droid and standard builds
|
// Product Flavors for F-Droid and standard builds
|
||||||
|
// Note: APK splits are disabled to ensure single APK output
|
||||||
flavorDimensions += "distribution"
|
flavorDimensions += "distribution"
|
||||||
productFlavors {
|
productFlavors {
|
||||||
create("fdroid") {
|
create("fdroid") {
|
||||||
dimension = "distribution"
|
dimension = "distribution"
|
||||||
// F-Droid builds have no proprietary dependencies
|
// F-Droid builds have no proprietary dependencies
|
||||||
// All dependencies in this project are already FOSS-compatible
|
// All dependencies in this project are already FOSS-compatible
|
||||||
|
// No APK splits - F-Droid expects single universal APK
|
||||||
}
|
}
|
||||||
|
|
||||||
create("standard") {
|
create("standard") {
|
||||||
|
|||||||
Reference in New Issue
Block a user