Skip to content

Commit faf3f30

Browse files
committed
ci(android): drop ndk.abiFilters to allow --split-per-abi
AGP rejects ndk.abiFilters alongside the abi splits config that `flutter build apk --split-per-abi` enables. Drop the explicit filter in the Android build.gradle template; Flutter's default android-arm, android-arm64, android-x64 set is what we want anyway, and the CI's APK-renaming step already references those ABI names.
1 parent 69e4e68 commit faf3f30

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/app_config/templates/android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ android {
4545
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
4646
}
4747

48-
ndk {
49-
abiFilters "x86_64","armeabi-v7a", "arm64-v8a"
50-
}
48+
// No ndk.abiFilters here: AGP rejects it alongside the abi splits set
49+
// up by `flutter build apk --split-per-abi`. Flutter defaults to
50+
// android-arm,android-arm64,android-x64 which is the same set we want.
5151

5252
// externalNativeBuild {
5353
// cmake {

0 commit comments

Comments
 (0)