Skip to content

Colota - Android GPS Location tracker

fix: disable ABI splits for bundle tasks to fix resource shrinking conflict

Max Dietrichbe82241f2ae7
diff --git a/apps/mobile/android/app/build.gradle b/apps/mobile/android/app/build.gradle
index 74e06485..a6d0bcd0 100644
--- a/apps/mobile/android/app/build.gradle
+++ b/apps/mobile/android/app/build.gradle
@@ -171,7 +171,8 @@ android {
splits {
abi {
reset()
- enable true
+ // Disable ABI splits for bundle tasks (AABs handle this natively)
+ enable !gradle.startParameter.taskNames.any { it.toLowerCase().contains("bundle") }
universalApk false
include "arm64-v8a", "armeabi-v7a", "x86_64", "x86"
}