Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the Android emulator screen blank?

Tags:

I have recently installed Android Studio and all its updates using sdks manager. When I try to start the emulator i can see this:

emulator -netdelay none -netspeed full -avd Nexus_5_API_21_x86

HAX is working and emulator runs in fast virt mode

It seems good. The emulator start but only thing i can see is a black screen. I use the default AVD created by the app. It has google api's x86 system image, 1gb ram, 64mb vm heap and 200mb intel storage. I tried to uncheck "Use Host GPU" but it did not solve the problem.

like image 330
mrdaino Avatar asked Jan 09 '15 16:01

mrdaino


People also ask

Why is my Android Emulator not working?

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 is my emulator screen white?

If it's a white screen, it means it is loading. Before it happened to me, and I clicked on the white screen for some times, then it successfully loaded my project. It may be that your Project includes something that the Emulator is incompatible with (an extension for example).

What to do if emulator is not working?

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.


2 Answers

I have recently the same issue in emulator, Nexus 5 (Android O). I have go to Android Virtual Device Manager and Wipe User Data and it solved my Problem.

enter image description here

like image 105
Krunal Kapadiya Avatar answered Sep 29 '22 22:09

Krunal Kapadiya


I ran into the same your issue, this is what I did that works: My one starts working with Nexus_4_API_25 (tried even with Nexus 6, Nexus 5 and Nexus One none of them was working!!) Create a new ADV from Android Studio ( bare in mind that i didn't allow the new front and rear camera to the new device, so switch them off) So go to Terminal and go to the folder where your emulator is and lists your emulators, my one:

~/Library/Android/sdk/tools/emulator -list-avds 

After run your emulator with the gpu hosted on your machine:

~/Library/Android/sdk/tools/emulator -avd Nexus_4_API_25 -gpu host 

It will start the emulator and then you can run your app in it. Hopefully this can helps someone else.

like image 23
Alexiscanny Avatar answered Sep 30 '22 00:09

Alexiscanny