Skip to content

Commit 16c83ed

Browse files
build: enable resource shrinking in release build
- Add configuration to shrink resources for reducing APK size
1 parent ff49c41 commit 16c83ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ android {
5050
// TODO: Add your own signing config for the release build.
5151
// Signing with the debug keys for now, so `flutter run --release` works.
5252
minifyEnabled true
53+
shrinkResources true
5354
proguardFiles 'proguard-rules.txt'
5455
signingConfig signingConfigs.debug
5556
}

0 commit comments

Comments
 (0)