Skip to content

Instantly share code, notes, and snippets.

@Smurph82
Last active December 4, 2019 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Smurph82/4a76f2d257328b7de670451fc843243b to your computer and use it in GitHub Desktop.
Save Smurph82/4a76f2d257328b7de670451fc843243b to your computer and use it in GitHub Desktop.
Have you ever wanted to start an Android emulator without opening Android Studio. Well this might help. It is a powershell script that once setup can open any of your AVDs. You need to change the path to your location of the emulator.exe. It should be found in the Android SDK directory, under the Emulator directory.
C:\Users\userName\AppData\Local\Android\Sdk\emulator\emulator.exe -list-avds
$avd = Read-Host -Prompt "Enter avd name."
C:\Users\userName\AppData\Local\Android\Sdk\emulator\emulator.exe -avd "$avd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment