Skip to content

Instantly share code, notes, and snippets.

@royclarkson
Created May 1, 2014 21:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save royclarkson/955723dea24c572fdf0c to your computer and use it in GitHub Desktop.
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
#!/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
@royclarkson
Copy link
Author

This might be useful in conjunction with create-emulators.sh and stop-emulators.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment