Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulator in Android Studio starts but doesn't turn on

My Android Studio version is 2.3.3. I downloaded it about a two weeks ago. I have installed HAXM and I'm am using the recommended API 26 O x86 for my emulator. When I start the emulator, it appears but does not load, i.e., show the 'ANDROID' title written on screen and turn on. What I get is just a black screen. It is very important for me because I am working on a project and I can't use a physical smartphone all the time for debugging.

Thanks in advance.

I did check a lot of answers to different questions related to my question but I did not find any solutions.

This is my screen:

As I said, I just get a black screen.

like image 669
Keval Avatar asked Oct 16 '17 04:10

Keval


People also ask

Why is my emulator not working Android Studio?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.

Why emulator is not opening?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

Why Android Studio Emulator won’t start on Windows 10?

If this much free space is unavailable, then the Android Studio Emulator won’t start. If you find that your PC doesn’t have adequate free disk space, then try running the Disk Cleanup tool to delete all the unnecessary files remaining on your PC. Type Disk Cleanup in the Windows search bar and select the appropriate option.

How do I fix Android emulator won't Load my App?

The adb command is now located in the platform-tools directory under your Android SDK installation, so I found it there, then followed these steps: Leave Eclipse running. Open a Terminal window, and run that "adb kill-server" command. Run my Android app through Eclipse again. For me, this solved my 'Android emulator won't load my app' problem.

Why won’t my Emulator start?

To avoid crashes and hangs caused by not having enough free disk space, the emulator checks for sufficient free disk space on startup, and will not start unless at least 2 GB is free. If the emulator fails to start for you, check to see that you have adequate free disk space.

Why is Android Studio not working on my phone?

Memory leak or background applications hogging memory can prevent the Android Studio emulator from accessing enough memory to start. Outdated Graphics Drivers: Outdated Graphics drivers can also be the cause of this issue. Antivirus can prevent Android Studio from working correctly and run the emulator.


2 Answers

I just encountered the same issue and was able to resolve by performing a Cold Reboot.

In Android Studio, do the following:

  1. Toolbar > Tools > AVD Manager
  2. Click the Edit dropdown > Coldboot Now

enter image description here

like image 199
Michael Norgren Avatar answered Oct 02 '22 08:10

Michael Norgren


I had the same problem as the OP after clicking the power button on the emulator. The emulator turned off, but I couldn't turn it back on again - despite trying long clicks on the power button and restarting the emulator.

My solution was to close the emulator, then going into AVD Manager in Android Studio and selecting the Wipe Data option for this emulator.

When I then restarted the emulator, it worked fine.

like image 25
ban-geoengineering Avatar answered Oct 02 '22 07:10

ban-geoengineering