app\build.gradle 下
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
shrinkResources false
minifyEnabled false
signingConfig signingConfigs.debug
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}
}
}