Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the android emulator starting but then dying immediately?

Tags:

android

avd

I've installed Android Studio on my Ubuntu 16.04
I've set up a device using the AVD device manager

When I try to start the device the emulator flashes very quickly and then disappears.

I tried several different versions but for all of them the emulator window flashes for a fraction of a second then disappears.enter image description here

How can I get the emulator to work? Where are logs that will show what problem I am having? enter image description here

like image 474
Michael Durrant Avatar asked May 10 '17 13:05

Michael Durrant


People also ask

Why Android Emulator is not opening?

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.

How do I stop my emulator from crashing?

In AVD manager open settings for your virtual device. In the Emulated Performance section open the dropdown for Graphics . Change it from Automatic to Software . Hit the Finish button to save new setting and try starting the emulator again.

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.


Video Answer


1 Answers

Try these method

Edit your AVD ,On Graphics select Software-GLES instead of Auto.

Open Android Monitor to see the errors.

like image 148
Nidhin Avatar answered Oct 06 '22 17:10

Nidhin