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 seen the Android APK (short for Android application package) option instead of the appbundle. Releasing your app as an APK has been deprecated by Google as an option on the Play Store, and will be fully withdrawn soon. Under the covers, an appbundle effectively generates APKs for devices 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 HelloWorld app for release on Google Play so that we can review all of the final steps of publishing a Flutter app.
AndroidManifest and build.gradle
For...