Recently I added some aliases to bash
(I use Ubuntu : gedit ~/.bashrc )
I added aliases for assemble release, assemble debug and adb install -r
alias ar='./gradlew aR'
alias ad='./gradlew aDeb'
alias ainst='function _ainst(){ adb install -r $1;};_ainst'
Now i can simply build release using ar, and the install it on device using ainst:
Example:
ainst app-flav1-release-1.0-build1.apk
No comments:
Post a Comment