From cf1142afa2d6ec13b854e6d413296464ef7d2466 Mon Sep 17 00:00:00 2001 From: inventory69 Date: Fri, 9 Jan 2026 13:19:47 +0100 Subject: [PATCH] [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 --- android/app/build.gradle.kts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index bcc29d8..4a2a474 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -35,23 +35,15 @@ android { 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 + // Note: APK splits are disabled to ensure single APK output flavorDimensions += "distribution" productFlavors { create("fdroid") { dimension = "distribution" // F-Droid builds have no proprietary dependencies // All dependencies in this project are already FOSS-compatible + // No APK splits - F-Droid expects single universal APK } create("standard") {