# App build & release

## Build for Android <a href="#build-for-android" id="build-for-android"></a>

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/`&#x20;

For deploying it please follow this documentation: [https://docs.flutter.dev/deployment/android](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](https://flutter.dev/docs/deployment/android)

{% hint style="info" %}
Here is also a video explaining the steps involve in generating it(if you prefer a video tutorial)
{% endhint %}

{% embed url="https://www.youtube.com/watch?v=g1fByAsqQRk" %}

### Get Release Keys with GUI

For release keys use [Keystore explorer](https://keystore-explorer.org/) to see the SHA1 and SHA256.

## Build for iOS <a href="#build-for-ios" id="build-for-ios"></a>

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](https://flutter.dev/docs/deployment/ios)

{% hint style="info" %}
Here is also a video explaining the steps involve in generating it(if you prefer a video tutorial)
{% endhint %}

{% embed url="https://www.youtube.com/watch?feature=emb_title&v=akFF1uJWZck" %}

