remove shrinkResources and minifyEnabled to reduce apk size (#2104)

* remove shrinkResources and minifyEnabled to reduce apk size

* remove shrinkResources and minifyEnabled to reduce apk size
This commit is contained in:
cyan
2025-04-11 02:12:40 +02:00
committed by GitHub
parent ea9b87d480
commit db051232ce
2 changed files with 2 additions and 4 deletions
-3
View File
@@ -74,9 +74,6 @@ android {
release {
signingConfig signingConfigs.release
shrinkResources false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
+2 -1
View File
@@ -5,4 +5,5 @@
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-dontwarn io.flutter.embedding.**
-dontwarn io.flutter.embedding.**
-dontwarn com.google.android.play.core.splitcompat.SplitCompatApplication