Releasing your app on Android
In Android, appbundle is the format expected to be published in the Google Play Store. When we run the flutter build appbundle
command, we generate the file ready for deployment.
You may have previously heard of the Android APK (short for Android application package) option instead of appbundle. Releasing your app as an APK is no longer allowed by Google as an option on the Play Store. Under the covers, an appbundle effectively generates device-specific APKs but hides that complexity away.
Before we generate the file for deployment and publishing in any store, we need to make sure all of the information is correct (that is, the name and package), all needed assets are provided, and all platform-specific adjustments are made.
Let’s start by preparing our Hello World app for release on Google Play so that we can review all of the final steps to publishing a Flutter app.
AndroidManifest and build.gradle
For each platform, Flutter has...