Skip to content

Instantly share code, notes, and snippets.

@Smurph82 Smurph82/avd_opener.ps1
Last active Dec 4, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.