Add abifilters to our gradle templates (#135529)

Fixes https://github.com/flutter/flutter/issues/135173, and could also be interpreted as fixing https://github.com/flutter/flutter/issues/83596 based on @chinmaygarde 's comment.
This commit is contained in:
Gray Mackall 2024-01-23 15:19:23 -08:00 committed by GitHub
parent edc73bce49
commit 512335230c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,9 @@ android {
targetSdk flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
ndk {
abiFilters 'arm64-v8a', 'x86_64', 'armeabi-v7a'
}
}
buildTypes {

View File

@ -49,6 +49,9 @@ android {
targetSdk flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
ndk {
abiFilters 'arm64-v8a', 'x86_64', 'armeabi-v7a'
}
}
buildTypes {