14

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

Michael Durrant
  • 93,410
  • 97
  • 333
  • 497

9 Answers9

32

Try these method

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

Open Android Monitor to see the errors.

Nidhin
  • 1,818
  • 22
  • 23
4

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.

SudoPlz
  • 20,996
  • 12
  • 82
  • 123
2

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

1

What helped me was to change the emulated system to Cold boot instead od Quick boot. It is on ubuntu and before that change the emulated system just disappear after sometime.

0

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.

Feroz Khan
  • 2,396
  • 5
  • 20
  • 37
0

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.

Thecarisma
  • 1,424
  • 18
  • 19
0

In my case, none of the other answers worked. Instead what did the trick was switching to an older Android Version (so instead of using Android Q I tried Android Marshmallow).

Dan Crisan
  • 137
  • 7
0

For me, it was just a wrong SDK. I tried to run Android Q Google APIs. When replaced it with Android Q Google Play, it got to work.

0

What did the trick for me, was disabling the anti-cheat engine (Vanguard from Riot in my case ) that ran as kernel-mode driver on boot on my system.