Created
May 1, 2014 21:30
-
-
Save royclarkson/955723dea24c572fdf0c to your computer and use it in GitHub Desktop.
Bash script to start Android emulators based on the array of specified API levels
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
#!/bin/bash | |
APIS=( 8 10 13 15 16 17 18 19 ) | |
for API in "${APIS[@]}"; do | |
emulator @Android-$API -no-boot-anim & | |
ret=$? | |
if [ $ret -eq 0 ]; then | |
sleep 15 | |
fi | |
done | |
sleep 15 | |
adb devices -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This might be useful in conjunction with create-emulators.sh and stop-emulators.sh.