How to start device emulator in android studio

1. Start the device emulator separately in Android Studio

  1. Open Android Studio and make sure you have created a virtual device or are running a device emulator.

  2. Find and click the "AVD Manager" button in the toolbar.

  3. In the AVD Manager window, find the device emulator you want to start and click the "Play" button to the right of it.

  4. At this point, Android Studio will start the device emulator, and you can use the emulator to test and debug the application.

2. Start the device emulator without Android Studio

  1.  Open the Android SDK installation directory and find the SDK\emulator folder.

  2.  Open the cmd command tool in the current directory and execute the following command:
emulator -avd <device_name>

<device_name>is the name of the device emulator you want to start. After execution, the device emulator will be launched in the command line window.


 New Era Migrant Workers 

Guess you like

Origin blog.csdn.net/sg_knight/article/details/130166066