user4938227
user4938227

Reputation: 588

Emulator: emulator: ERROR: Missing initial data partition file:

I just updated my HAXM to version 6.2.1 . When I run the emulator I get an error message in the event log of the android studio:

Emulator: emulator: ERROR: Missing initial data partition file: /Users/blabla/.android/avd/Pixel_2_XL_API_25.avd/userdata.img

Nevertheless, the app runs without any problems in the emulator. Does anybody know the solution not to get this message again? Thank You

Edit: Now it works right. I closed and opened android studio

Upvotes: 46

Views: 51500

Answers (2)

Khemraj Sharma
Khemraj Sharma

Reputation: 58984

Update

You need to update Android Emulator and HAXM,

  • Go to Tools > SDK Manager
  • Update Android Emulator and HAXM installer

sc

Upvotes: 3

Chiptus
Chiptus

Reputation: 961

As per the comment of @user4938227 (and my experience) it seems like it's a one time warning the should happen at the first run of the emulator. Avd creates the file and on the following runs it shouldn't appear.

Upvotes: 55

Related Questions