模拟器:模拟器:错误:缺少初始数据分区文件: [英] Emulator: emulator: ERROR: Missing initial data partition file:

查看:110
本文介绍了模拟器:模拟器:错误:缺少初始数据分区文件:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆