Skip to content

Instantly share code, notes, and snippets.

@DeuceTheCoder
DeuceTheCoder / android_emulator.sh
Created Feb 10, 2015
Starts an existing android emulator and waits for it to be ready
View android_emulator.sh
#!/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 &