Open android emulator using command prompt or terminal

Open android emulator using command prompt or terminal

Open android emulator without opening android studio? This is one of the most popular question among android developers. Most of the React native or flutter developers don’t use the android studio IDE. They are using the lightweight code editor such as Visual studio code or sublime text. But they have an issue of opening the android emulator to test the app they make. So i’m going to tell you how to open the android emulator without opening the android studio. In here, i’m going to use windows operating system. I have used android studio to install Nexus 5X emulator and now i’m going to open it without opening the android studio.

STEP 1 – Go to your SDK location. My sdk location is “C:\Users\Pasindu Dineth\AppData\Local\Android\Sdk”. Then you will see something like this.

Open android emulator – Image #1

STEP 2 – So, go to “tools” then go inside to “bin”.

STEP 3 – Now , open the command prompt from the exact location. ( You can open command prompt and use “cd” into this location. Somehow we need to come to this location using the terminal or command prompt.)

STEP 4 – Now, execute this command.

avdmanager list avd

Then you will get the list of installed Emulators. Then copy the name of the emulator you need to start.

Open android emulator – Image #1

STEP 5 – Go back to sdk location again and go inside to “emulator” folder and open a command prompt from the exact location.

STEP 6 – Execute following command to Open android emulator.

emulator -avd NAME_OF_YOUR_DEVICE

Now your emulator will start. This is how we can Open android emulator without android studio. Feel free to comment if you have any issues. I would like to assist you with this matter. Have a nice day and see you soon with another tutorial.

Leave a Reply

Your email address will not be published. Required fields are marked *