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.
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.
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).
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With