build(android): 生产包 abiFilters 仅保留 arm64-v8a 与 armeabi-v7a

This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-21 19:10:05 +08:00
1 parent 08980ff09b
commit 91a622733c
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -29,6 +29,10 @@ android {
buildTypes {
release {
// 生产包只保留 arm64-v8a 与 armeabi-v7a,避免插件带入 x86_64 原生库
ndk {
abiFilters += listOf("arm64-v8a", "armeabi-v7a")
}
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")