Skip to content

Commit

Permalink
perf:Android 打包优化
Browse files Browse the repository at this point in the history
  • Loading branch information
longer96 committed Aug 2, 2021
1 parent af50a43 commit bab6052
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ android {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug

// 启动资源压缩
shrinkResources true
ndk { abiFilters 'armeabi-v7a' }
}
}
}
Expand Down

0 comments on commit bab6052

Please sign in to comment.