Why is the android emulator starting but then dying immediately?

馋奶兔 提交于 2019-12-06 19:54:45

问题


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.

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


回答1:


Try these method

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

Open Android Monitor to see the errors.




回答2:


Heads up:

For the ones of you that use docker, make sure docker is closed before trying to run the emulator.

That fixed it for me.




回答3:


Or you can select cold boot now from AVD drop down menu. It works fine.




回答4:


I've recently updated my Android Emulator to 29.0.1 and got this issue. The above solution may be true but that didn't worked for me. So, the method I used to make it work was to Wipe data of device from AVD Actions Drop-down.




回答5:


If any of the above does not work for you, you should simply create another emulator using a different image from the image in crashing emulator.



来源:https://stackoverflow.com/questions/43893913/why-is-the-android-emulator-starting-but-then-dying-immediately

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!