Created
October 26, 2016 09:39
-
-
Save andrew-aladev/3ef6481e3c9e94201e4571adf593b575 to your computer and use it in GitHub Desktop.
Upload cordova project to nexus phones
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
#!/bin/sh | |
dir=$(pwd) | |
# cd ../ThaliTest | |
cordova build android --release --device | |
apk="./platforms/android/build/outputs/apk/android-release-unsigned.apk" | |
/usr/local/opt/android-sdk/build-tools/24.0.3/apksigner sign --ks ~/Documents/adb-release-key.jks --ks-pass="pass:123456" $apk | |
adb -s ENU7N15B26000497 install -r $apk & | |
adb -s ENU7N16425000118 install -r $apk & | |
wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment