Android
To get started, Appetize requires the APK containing your application.
Finding your APK file
With Android Studio
Select Build -> Build APK(s) -> Build APK(s) or Build -> Generated Signed APK (and following the prompts)

Once the build is complete you can locate the .apk
file by selecting locate
in the dialog that appears

locate
in the dialog to navigate to the apkor by navigating to
{project name}/{app module name}/build/outputs/apk/
With Gradle
Generate your build with gradle
by running the assemble
command for your preferred app build variant e.g. debug
variant
./gradlew assembleDebug
Once the build is complete you can locate the .apk
file by navigating to
{project name}/{app module name}/build/outputs/apk/
Converting AAB to APK
Appetize currently only support apk
files for Android. In order to get your application to work with Appetize you will need to convert your aab
to an apk
by making use of the bundletool
provided by Google.
Generate Universal APKS
bundletool build-apks --bundle=/<your app>/{aab name}.aab \
--output=/{your app}/{app name}.apks \
--mode=universal
Generate Single APK file from the Universal APKs
unzip -p /{your app}/{app name}.apks universal.apk > /{your app}/{app name}.apk
Troubleshooting
If you are having trouble running your uploaded Android app in Appetize, we recommend trying to run the same APK on the standard Google-provided Android emulator locally over ADB.
Once your emulator is launched and available via adb devices
, you can install it using the install
command:
adb install -r {your app}.apk
or by simply dragging over the apk
into the emulator window.
Also check our Knowledge Base for frequently asked questions and solutions.
Last updated