16. Releasing the Android App
at Google Play Store
Make sure that you have done all the things that are required for the android release.
To test the released android app, run the following command on the terminal:
flutter build apk --split-per-abi
You will get 3 apk files from the build/app/output/apk/release folder. You can test the app-armeabi-v7a-release.apk file on your android device.
If you want to publish the app in the google play store, don’t upload any of the following apk files. Use an appbundle file which is recommended by Google
To generate an appbundle, run the following command on the terminal:
flutter build appbundle
After that, you will get a .aab file in the build/app/output/appbundle/release folder.
Now you can upload this .aab file to the google play store.