Skip to content

Instantly share code, notes, and snippets.

View varundtsfi's full-sized avatar
🎯
Focusing

Varun varundtsfi

🎯
Focusing
  • Ifitmash
View GitHub Profile
@varundtsfi
varundtsfi / installFromBundle
Created January 17, 2019 11:22 — forked from keyboardsurfer/installFromBundle
Build & extract a set of apk from an aab for a specific device and install the results on it.
#!/bin/sh
# Build & extract a set of apk from an aab for a specific device and install the results on it.
#
# This needs https://github.com/google/bundletool to be available as `bundletool`.
# Also **exactly** one device needs to be connected to adb.
# Usage: installFromBundle bundle.aab
# optional `--extract-apks` to keep the set on your workstation as well.
basename=${1%%.*}
keystore="~/.android/debug.keystore"