Skip to content

Instantly share code, notes, and snippets.

@jeffypooo
Created April 24, 2019 20:50
Show Gist options
  • Select an option

  • Save jeffypooo/faa7e90b49b81b303724744c495ac9b0 to your computer and use it in GitHub Desktop.

Select an option

Save jeffypooo/faa7e90b49b81b303724744c495ac9b0 to your computer and use it in GitHub Desktop.
Bash functions for installing an android app bundle (.aab) onto a device
# 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