build, clean up the release APK setup.
This commit is contained in:
1 parent
d432de170d
commit
57a211a518
1 file changed
+5
-9
@@ -41,10 +41,6 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
getByName("release") {
|
getByName("release") {
|
||||||
// TODO: Add your own signing config for the release build.
|
|
||||||
// Signing with the debug keys for now, so `flutter run --release` works.
|
|
||||||
signingConfig = signingConfigs.getByName("debug")
|
|
||||||
|
|
||||||
/// 20260928 - Without minifying.
|
/// 20260928 - Without minifying.
|
||||||
/// Built build/app/outputs/flutter-apk/app-release.apk (54.3MB)
|
/// Built build/app/outputs/flutter-apk/app-release.apk (54.3MB)
|
||||||
/// Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (17.2MB)
|
/// Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (17.2MB)
|
||||||
@@ -56,12 +52,7 @@ android {
|
|||||||
proguardFiles(
|
proguardFiles(
|
||||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
"proguard-rules.pro",
|
"proguard-rules.pro",
|
||||||
"flutter_proguard_rules.pro"
|
|
||||||
)
|
)
|
||||||
ndk {
|
|
||||||
//noinspection ChromeOsAbiSupport
|
|
||||||
abiFilters += listOf("arm64-v8a")
|
|
||||||
}
|
|
||||||
|
|
||||||
/// 20260928 - With minifying, helped some, but also used
|
/// 20260928 - With minifying, helped some, but also used
|
||||||
/// in combination with `--obfuscate --split-debug-info=./debug-info/`
|
/// in combination with `--obfuscate --split-debug-info=./debug-info/`
|
||||||
@@ -69,6 +60,11 @@ android {
|
|||||||
/// Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (16.1MB)
|
/// Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (16.1MB)
|
||||||
/// Built build/app/outputs/flutter-apk/app-arm64-v8a-release.apk (18.8MB)
|
/// Built build/app/outputs/flutter-apk/app-arm64-v8a-release.apk (18.8MB)
|
||||||
/// Built build/app/outputs/flutter-apk/app-x86_64-release.apk (20.3MB)
|
/// Built build/app/outputs/flutter-apk/app-x86_64-release.apk (20.3MB)
|
||||||
|
|
||||||
|
ndk {
|
||||||
|
//noinspection ChromeOsAbiSupport
|
||||||
|
abiFilters += listOf("arm64-v8a")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user