diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 5b9f679..200558a 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -162,6 +162,16 @@ android { (project.findProperty("THOUGHTSYNC_VERSION_CODE") as String?)?.toIntOrNull() versionCode = codeOverride ?: 1 versionName = nameOverride ?: "dev" + + // Package ONLY the ABIs we build for. + // + // Without this the APK also carries armeabi, mips and mips64 — dead + // architectures Android dropped years ago, which arrive because JNA's + // .aar still ships a libjnidispatch.so for each. They can never be + // loaded on any device this app supports, so they are pure payload. + ndk { + abiFilters += androidAbis + } } buildTypes {