I am trying to run an emulator over Android Studio, but it's not starting.
I have Android studio (version 23 marshmallow), configured with
minSdkVersion 21
targetSdkVersion 23
When I run my app in emulation (nexus 5x api 23 android 6.0), I get the following error:
Error while waiting for device: The emulator process for AVD Nexus_5X_API_23 was killed.
Can anybody help me on this, please?
If your running Windows OS, then check whether the graphics driver is installed and is working fine. As the emulator needs good and/or proper graphics configuration. Try installing the graphics driver if not installed and running the emulator again.
Hope this works!, this worked for me.
If you take a look at the
4: Run
log, it says:In my case, there was a VirtualBox docker instance running and once I stopped it, the emulator started to work.
In my case docker / dlite was running and once I stopped them, the emulator started to work.
Or quit docker for mac via the top right menu bar item.
Note that you might need to restart Android Studio.
My problem was with Nexus 6 23 and resolved it doing the following:
I hope it can help you!