无法打开avd_name.avd/cache.img [英] Could not open avd_name.avd/cache.img

查看:173
本文介绍了无法打开avd_name.avd/cache.img的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行模拟器时,出现以下错误:

When i run emulator, i get the following error:

无法在模拟器中启动AVD.

Cannot launch AVD in emulator.

输出: 启用Hax qemu-system-x86_64.exe:-drive if = none,index = 1,id = cache,file = {path_to_SDK} \ SDK.android \ avd {AVD_name} .avd/cache.img:无法打开磁盘映像{path_to_SDK } \ SDK.android \ avd {AVD_name} .avd/cache.img:

Output: Hax is enabled qemu-system-x86_64.exe: -drive if=none,index=1,id=cache,file={path_to_SDK}\SDK.android\avd{AVD_name}.avd/cache.img: could not open disk image {path_to_SDK}\SDK.android\avd{AVD_name}.avd/cache.img:

无法打开'{path_to_SDK} \ SDK.android \ avd {AVD_name} .avd/cache.img':

Could not open '{path_to_SDK}\SDK.android\avd{AVD_name}.avd/cache.img':

无效的参数

Hax ram_size 0x40000000

Hax ram_size 0x40000000

HAX正在运行,并且模拟器在快速virt模式下运行. 接受连接时出错,正在中止

HAX is working and emulator runs in fast virt mode. Error accepting connection, aborting

AVD规范是:

操作系统:Android 6.0 Google APIs

OS: Android 6.0 Google APIs

RAM:1GB

分辨率:1440x2560

Resolution: 1440x2560

在Android Studio 2.0 Beta 6,Windows 10上运行.

Running on Android Studio 2.0 Beta 6, Windows 10.

推荐答案

请注意在后台运行的qemu-system-i386.exe进程,该进程将锁定cache.img文件.

Keep an eye out for a background qemu-system-i386.exe process running in the background that will be locking the cache.img file.

这可能是由于先前失败的模拟器启动而仍在运行.使用任务管理器将其杀死,然后重新开始.

This might be still running from a previously failed emulator launch. Kill that using Task Manager and start again.

这篇关于无法打开avd_name.avd/cache.img的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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