Complete the code to specify the keystore file path in the Flutter app signing configuration.
android {
signingConfigs {
release {
storeFile file('[1]')
}
}
}The storeFile property should point to your keystore file, commonly named my-release-key.keystore.
Complete the code to set the key alias for signing the Flutter app.
android {
signingConfigs {
release {
keyAlias '[1]'
}
}
}The keyAlias is the name of the key inside the keystore. It is often set to my_key_alias for release builds.
Fix the error in the code by completing the password field for the keystore.
android {
signingConfigs {
release {
storePassword '[1]'
}
}
}The storePassword must match the password you set when creating the keystore. Here, storepass is the correct password.
Fill both blanks to complete the signing configuration for the release build.
android {
buildTypes {
release {
signingConfig signingConfigs.[1]
minifyEnabled [2]
}
}
}The release build should use the release signing config and usually has minifyEnabled false to disable code shrinking during signing.
Fill all three blanks to complete the command for building a signed APK in Flutter.
flutter build apk --[1] --[2]=release --[3]=app-release.apk
The command uses --build-mode release to specify release build, --target-platform to specify the platform, and --build-output to name the APK file.