We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d60786f commit c14c323Copy full SHA for c14c323
android/app/build.gradle
@@ -65,6 +65,14 @@ android {
65
// TODO: Add your own signing config for the release build.
66
// Signing with the debug keys for now, so `flutter run --release` works.
67
signingConfig signingConfigs.release
68
+ //开启混淆
69
+ minifyEnabled true
70
+ //开启资源压缩
71
+ shrinkResources true
72
+ //开启zip对齐
73
+ zipAlignEnabled true
74
+ //如果开启混淆,记得在混淆文件中添加混淆规则
75
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
76
}
77
78
android/settings_aar.gradle
@@ -0,0 +1 @@
1
+include ':app'
0 commit comments