Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: How to launch emulator from command line?

I am using Windows 10 (64 bit) and Android Studio 2.3.

My Android emulator is located in folder:

d:\Programs\Android\avd.android\avd\Nexus_4_4.avd\

Suppose I'm in folder D:\temp.

How from folder D:\temp I can launch my emulator (from command line of pc)?

like image 911
Alexei Avatar asked Jun 13 '17 12:06

Alexei


1 Answers

Open command prompt anywhere and use the following command

  • To get the list of available emulator

    emulator -list-avds

  • To open a emulator

    emulator -avd Nexus_5X_API_23

like image 74
Jeffrey Rajan Avatar answered Oct 08 '22 19:10

Jeffrey Rajan