Last active
May 18, 2018 22:11
-
-
Save digitalbuddha/21ea4dcb8aa1c894ba0e0df02dc0801f to your computer and use it in GitHub Desktop.
Exploring App Bundles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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