Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
fix(android): update minSdkVersion to 23
Browse files Browse the repository at this point in the history
  • Loading branch information
kjxbyz committed Jun 8, 2024
1 parent 194fd04 commit 31d8af4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ android {
applicationId "com.chenyifaer.homingpigeon"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 21
minSdkVersion 23
targetSdk 34
versionName flutterVersionName
versionCode flutterVersionCode.toInteger()
Expand Down Expand Up @@ -123,13 +123,21 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
signingConfig signingConfigs.debug
}
}

packagingOptions {
jniLibs {
// Enabling flag to compress JNI Libs to reduce APK size Ref: https://developer.android.com/topic/performance/reduce-apk-size?hl=zh-cn#extract-false
useLegacyPackaging true
}
}
}

flutter {
Expand Down

0 comments on commit 31d8af4

Please sign in to comment.