Created
April 24, 2019 20:50
-
-
Save jeffypooo/faa7e90b49b81b303724744c495ac9b0 to your computer and use it in GitHub Desktop.
Bash functions for installing an android app bundle (.aab) onto a device
This file contains hidden or 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
| # NOTE: these functions assume ANDROID_HOME/tools/bin is in your PATH | |
| buildapks() { | |
| bundletool build-apks --bundle=${1} --output=${2} | |
| } | |
| installapks() { | |
| bundletool install-apks --apks=${1} | |
| } | |
| installaab() { | |
| buildapks ${1} ${1}.apks | |
| installapks ${1}.apks | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment