From f4df16de740a30ee62fd919fdbd063cd881d8384 Mon Sep 17 00:00:00 2001 From: Giuppe Date: Fri, 8 Nov 2024 02:03:28 +0100 Subject: [PATCH 1/2] Android: info on how to build AAB packages --- _docs/advanced-setup/android.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/_docs/advanced-setup/android.md b/_docs/advanced-setup/android.md index 08b116d5..f74b46a0 100644 --- a/_docs/advanced-setup/android.md +++ b/_docs/advanced-setup/android.md @@ -175,6 +175,18 @@ Use multiple tags to specify more than one permission. ``` +### Build Android App Bundles (AAB) instead of APK + +Since August 2021, new apps must provide an [Android App Bundle](https://developer.android.com/guide/app-bundle) to publish on Google Play. + +This tag can be used to inform Gradle to build an AAB file: + +```xml + +``` + +If the build is successful, the resulting bundle can be found in the android export directory, under `android/bin/app/build/outputs/bundle/release`. + ## Android Emulator If you intend to test with the Android emulator, you create an AVD in **Android Studio** in the **Virtual Device Manager**. From c77e3ebcc2465dceb5e369fd5e1354dce7389277 Mon Sep 17 00:00:00 2001 From: player-03 Date: Thu, 7 Nov 2024 20:41:02 -0500 Subject: [PATCH 2/2] Describe Gradle tasks in more detail. --- _docs/advanced-setup/android.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_docs/advanced-setup/android.md b/_docs/advanced-setup/android.md index f74b46a0..587b8250 100644 --- a/_docs/advanced-setup/android.md +++ b/_docs/advanced-setup/android.md @@ -175,17 +175,17 @@ Use multiple tags to specify more than one permission. ``` -### Build Android App Bundles (AAB) instead of APK +### Gradle Tasks -Since August 2021, new apps must provide an [Android App Bundle](https://developer.android.com/guide/app-bundle) to publish on Google Play. - -This tag can be used to inform Gradle to build an AAB file: +By default, Lime builds an APK file using the `assembleDebug` or `assembleRelease` task, depending on whether you [provide a certificate file](#code-signing). To build an [Android App Bundle](https://developer.android.com/guide/app-bundle) instead, you can specify the `bundleDebug` or `bundleRelease` task in your [_project.xml_](../../project-files/xml-format/) file. ```xml - + ``` -If the build is successful, the resulting bundle can be found in the android export directory, under `android/bin/app/build/outputs/bundle/release`. +Once built, the AAB file will appear in your export directory, at _android/bin/app/build/outputs/bundle/`[build type]`/app-`[build type]`.aab_. + +You can specify other tasks this way as well, or pass additional space-separated arguments. ## Android Emulator