Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Exploring App Bundles
1. Create a bundle with Android Studio 3.2 alpha 15: Build->Build Bundles/Apks->Build Bundle
2. Download Bundle Tool https://github.com/google/bundletool/releases
3. Create bundletool.sh with contents:
#!/bin/bash
java -jar ~/downloads/bundletool.jar "$@"
5. Run equivalant of following command (or add to path and run just `bundletool`)
./bundletool.sh build-apks --bundle=/Users/mnakhi/projects/high-tops/app/build/outputs/bundle/debug/bundle.aab --output=/Users/mnakhi/projects/high-tops/debug2.apks --ks=PATHTOYOURKEY --ks-key-alias=YOURKEYALIAS
6. Installing: ./bundletool.sh install-apks --apks=/Users/mnakhi/projects/high-tops/apks.apks
6. Exploring contents: Find apks.apks and rename to apks.zip
7. Unzip and explore different apks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.