Resetting for Cold Boot Emulator Engine failed: Fixed

Hannah Lormenyo
3 min readJun 28, 2020

This article is to help anyone that is struggling with a similar issue whether in VSCode or Android studio. I couldn’t start my emulator for a while 😥. It always showed a black screen with the prompt “Resetting for cold boot. Emulation engine failed”. In VSCode, I got other alerts like “Emulator couldn't connect in 60 seconds”. I had to connect to an android device using a USB to run my applications. That wasn’t very fun for me so I decided to find a solution to the problem.

The Solution

Open the directory where your emulator.exe is located. It will probably be in your “Android/.android/avd” directory.

If you don’t know the exact location of the file, you can find it by following the instructions below:

  1. Launch the emulator.
  2. Click on the three dots on the side bar to open a window for external controls.
  3. On the right side pane of that window, click on bug report. An interface like the one below will show up. Click on the Emulator ID (like the one circled with red ink in the image below)
Bug report

4. An interface like the one above will appear somewhere on your screen. Copy the path to the emulator.

5. This should finally take you to the emulator directory. You will see some files like the ones shown in the image below.

Files in directory

You can read more about these files here.

The “userdata-qemu.img” file

This file makes all the difference here. The details of this file can be seen in the image below.

Screenshot from Android studio doc

The Magic Trick

Delete the userdata-qemu.img file

Relaunch the emulator

If you are using the command line you can launch the emulator using this command:

flutter emulators --launch [emulator-id]

Android Studio

For Android Studio users, this problem can easily be fixed :

  1. Go to Tools > Android > AVD Manager
  2. Select your emulator device
  3. Click “Wipe data”
  4. Relaunch your emulator

Your emulator should be working now 😃😅

If this article helped in any way, don’t forget to leave a clap 👍

--

--

Hannah Lormenyo

Software Engineer I write about the new things I learn in building software and sometimes hardware (embedded systems)