Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator gives error "Resetting for cold boot: emulation engine failed" and exits

After updating AS now emulator quits every time I start it. Below is the screenshot I managed to capture before it disappeared. enter image description here

In the logs the following are printed

14:49 Emulator: WARNING: change of renderer detected.

14:49 Emulator: C:\Users\Nux\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: error while loading state for instance 0x0 of device 'goldfish_pipe'

14:49 Emulator: deleteSnapshot: for default_boot

14:49 Emulator: qemu: unsupported keyboard cmd=0x84

14:49 Emulator: qemu: unsupported keyboard cmd=0x84

14:49 Emulator: Process finished with exit code 0

I already tried the following:

  1. Delete all my virtual devices and created new ones.
  2. Wipe Emulator data.
  3. Tried to lunch emulator manually in AVD.
  4. Launch emulator with the option "Cold boot now".

And none of them worked. Any help will be appreciated!

like image 519
Nux Avatar asked May 11 '19 12:05

Nux


People also ask

How do I fix the emulator process for AVD has terminated?

1. Create any Emulator configuration in Device Manager, start it, won't start and terminates immediately. 2. Uninstall Android Emulator tools from SDK Manager, re-install the same tools, create emulator configuration, start the same, won't start and terminates immediately.

How do I fix an error opening emulator?

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.

How do I clean my Android Emulator?

The easiest way is just to launch the emulator, go to settings -> applications . Then pick the unwanted applications and uninstall them. Alternatively you can do adb -e shell while the emulator is running, find the . apk files in the file system (I think they're under /system/apps) and remove them manually.


2 Answers

I had the same problem and this worked for me.

enter image description here

like image 165
Arun Avatar answered Oct 17 '22 14:10

Arun


I had the same problem. What worked for me:

  1. Editing the AVD configuration and on Graphics I selected "Software".
  2. Lower uncheck "Device Frame".(without this step it was keeping crashing).
  3. Wipe data
  4. Cold boot.

And now it works fine. Hope my advice will help to anyone.

like image 10
Holiday Fun Avatar answered Oct 17 '22 15:10

Holiday Fun