Browse Source

去掉abiFilters

周素华 10 months ago
parent
commit
a6e3192cd5
1 changed files with 0 additions and 6 deletions
  1. 0 6
      android/app/build.gradle

+ 0 - 6
android/app/build.gradle

@@ -70,9 +70,6 @@ android {
70 70
             manifestPlaceholders = [APP_NAME: "国粮质检"]
71 71
             shrinkResources false // 重要,打印机有so库,fix bug: https://github.com/flutter/flutter/issues/47527
72 72
             minifyEnabled false // 重要,打印机有so库,fix bug: https://github.com/flutter/flutter/issues/47527
73
-            ndk {
74
-                abiFilters "armeabi-v7a","x86_64"   // 主要减包大小,效果是能减少一半,以arm64-v8a为主ABI的设备,辅助ABI为armeabi-v7a和armeabi;以armeabi-v7a为主ABI的设备,辅助ABI为armeabi。
75
-            }
76 73
         }
77 74
         profile {
78 75
             signingConfig signingConfigs.release
@@ -80,9 +77,6 @@ android {
80 77
             applicationIdSuffix ".debug"
81 78
             shrinkResources false // 重要,打印机有so库,fix bug: https://github.com/flutter/flutter/issues/47527
82 79
             minifyEnabled false // 重要,打印机有so库,fix bug: https://github.com/flutter/flutter/issues/47527
83
-            ndk {
84
-                abiFilters "armeabi-v7a", "x86_64"  // 主要减包大小,效果是能减少一半,以arm64-v8a为主ABI的设备,辅助ABI为armeabi-v7a和armeabi;以armeabi-v7a为主ABI的设备,辅助ABI为armeabi。
85
-            }
86 80
         }
87 81
         debug {
88 82
             signingConfig signingConfigs.release