Solve the problem of Android Studio emulator failure to run

 The development environment of Android Studio was built earlier and was installed under the default path for the first time. After creating a new project, I wanted to run it with the simulator to test it, but the simulator always failed to run successfully. I also followed some suggestions on the Internet to reinstall HAXM, but no matter how hard I tried, it failed.

Later, I simply uninstalled Android Studio, reinstalled it, and specified the path to the E drive for normal settings and installation. Step by Step, execute step by step.

Restart the installed Android Studio. At this time, the last created project file will be automatically loaded and the compilation project will be executed.

Then perform the following checks:

1. Check SDK Manager

 

2. Check the virtual device:

Under the device manager, if there is no device, create a new device.

 3. After creating the new device, you can try to run it.

The first time it loads, it will be a bit slow, as shown below.

4. After the loading is successful, the following figure will be displayed:

5. After the mobile phone simulator is running, click the menu and Run APP to run the APP on the simulator.

 The picture below is the running result of a new project using the default template.

 

Guess you like

Origin blog.csdn.net/qq_27866305/article/details/131216418