Skip to content

Instantly share code, notes, and snippets.

@DeuceTheCoder
DeuceTheCoder / android_emulator.sh
Created February 10, 2015 02:09
Starts an existing android emulator and waits for it to be ready
#!/bin/bash
DEVICE_WAIT_TIMEOUT='3m'
function start_emulator_and_unlock_screen {
emulator_name=$1
shift
emulator_options=$*
check_emu_name $emulator_name
$ANDROID_HOME/tools/emulator @$emulator_name $emulator_options &