Skip to content

Instantly share code, notes, and snippets.

@tugceaktepe
Last active June 19, 2023 09:16
Show Gist options
  • Save tugceaktepe/667ec266e32af9a419eebdc8045e53e3 to your computer and use it in GitHub Desktop.
Save tugceaktepe/667ec266e32af9a419eebdc8045e53e3 to your computer and use it in GitHub Desktop.
Create & Run emulator from command line
echo no | avdmanager create avd --force -n yourEmulatorName -k "system-images;android-${EMULATOR_VERSION};default;x86_64"
adb start-server
emulator -avd yourEmulatorName -no-window -no-audio -no-boot-anim -gpu off
./android-wait-for-emulator
adb shell input keyevent 82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment