How to Launch the Android Emulator

Summary: In this tutorial, you’ll learn how to launch the Android Emulator on Windows.

Prerequisites #

  • Android SDK installed.
  • Emulator installed.

To launch an emulator on your computer from the command line, you follow these steps:

First, add the path to the Android SDK’s emulator to the PATH:

C:\Users\<username>\AppData\Local\Android\Sdk\emulatorCode language: HTML, XML (xml)

Second, open the Terminal (or Command Prompt) on your computer.

Third, run the following emulator command to display all emulators:

emulator -list-avdsCode language: PHP (php)

It’ll show all emulators on your computer. Here’s an example:

Pixel_5_API_34

Third, run the following command to start the emulator:

emulator -avd Pixel_5_API_34

You should change the emulator name to your actual one.

Was this tutorial helpful ?