模拟器:模拟器:错误:缺少初始数据分区文件: [英] Emulator: emulator: ERROR: Missing initial data partition file:
问题描述
我刚刚将我的 HAXM 更新到了 6.2.1 版.当我运行模拟器时,我在 android studio 的事件日志中收到一条错误消息:
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:
模拟器:模拟器:错误:缺少初始数据分区文件:/Users/blabla/.android/avd/Pixel_2_XL_API_25.avd/userdata.img
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
现在它可以正常工作了.我关闭并打开了android studio
Now it works right. I closed and opened android studio
推荐答案
根据@user4938227 的评论(和我的经验),似乎这是一次警告,应该在第一次运行模拟器时发生.Avd 创建该文件,在接下来的运行中它不应出现.
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.
这篇关于模拟器:模拟器:错误:缺少初始数据分区文件:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!