App build & release

Build for Android

For debug build you can run command:

flutter build apk

You will get a larger merged apk with this. But you can split them with this command:

flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi

Build file location: <project>/build/app/outputs/flutter-apk/

For deploying it please follow this documentation: https://docs.flutter.dev/deployment/android

Android Release APK

When you have finish configuring your app(change logo/name etc), you might want to publish your app to Google play store. You need to do some extra configuration to generate a store ready release version of your app.

Below is a link to both the flutter official documentation on generating a release apk.

Build and release an Android app: https://flutter.dev/docs/deployment/android

Here is also a video explaining the steps involve in generating it(if you prefer a video tutorial)

Get Release Keys with GUI

For release keys use Keystore explorer to see the SHA1 and SHA256.

Build for iOS

When you have finish configuring your app(change logo/name etc), you might want to publish your app to Apple App store. You need to do some extra configuration to generate a store ready release version of your app.

Below is a link to both the flutter official documentation on building and publishing the app for iOS.

Build and release an iOS app: https://flutter.dev/docs/deployment/ios

Here is also a video explaining the steps involve in generating it(if you prefer a video tutorial)

Last updated