Resetting for Cold Boot Emulator Engine failed: Fixed
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:
- Launch the emulator.
- Click on the three dots on the side bar to open a window for external controls.
- 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)
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.
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.
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 :
- Go to
Tools > Android > AVD Manager
- Select your emulator device
- Click “Wipe data”
- Relaunch your emulator
Your emulator should be working now 😃😅
If this article helped in any way, don’t forget to leave a clap 👍