diff --git a/scripts/start-android.sh b/scripts/start-android.sh index d313c00ed..6b7fecb5d 100755 --- a/scripts/start-android.sh +++ b/scripts/start-android.sh @@ -17,7 +17,7 @@ echo "Starting emulator..." # Start emulator in background nohup $ANDROID_HOME/emulator/emulator -avd $AVD_EMULATOR_NAME -no-snapshot > /dev/null 2>&1 & -$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82' +$ANDROID_HOME/platform-tools/adb wait-for-device shell 'ls' $ANDROID_HOME/platform-tools/adb devices echo "Emulator started."