Skip to content

Instantly share code, notes, and snippets.

@majirosstefan
Created September 19, 2021 10:22
Show Gist options
  • Save majirosstefan/8e3447444737cf52cfbc5709a8b2cbbc to your computer and use it in GitHub Desktop.
Save majirosstefan/8e3447444737cf52cfbc5709a8b2cbbc to your computer and use it in GitHub Desktop.
WAIT_CMD="$ANDROID_HOME/platform-tools/adb wait-for-device shell getprop init.svc.bootanim"
until $WAIT_CMD | grep -m 1 stopped; do
echo "Waiting until emulator is booted..."
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment