# `mix dala.release.android`
[🔗](https://github.com/manhvu/dala_dev/blob/main/lib/mix/tasks/dala.release.android.ex#L1)

Builds a release-signed Android App Bundle (.aab) ready to upload to Google Play.

    mix dala.release.android

## Output

`android/app/build/outputs/bundle/release/app-release.aab`

Use `mix dala.publish.android` to upload it to Google Play Console.

## Prerequisites

  1. Android signing config in `dala.exs`:

         config :dala_dev,
           android_signing: [
             store_file: "~/.android/keystore.jks",
             store_password: "your_store_password",
             key_alias: "your_key_alias",
             key_password: "your_key_password"
           ]

  2. A Google Play Developer account with your app registered

## What it does

  1. Downloads OTP runtimes for Android arm64 and arm32
  2. Copies ERTS helper executables into jniLibs
  3. Applies release signing configuration to Gradle
  4. Runs `gradle bundleRelease` to build the AAB
  5. Verifies the AAB was created successfully

The generated AAB contains both arm64 and arm32 native libraries,
plus the OTP runtime and compiled BEAM files.

# `format_size`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
