问题
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