Android模拟器的SD卡图像已在使用 [英] Android emulator sd card image already in use

查看:320
本文介绍了Android模拟器的SD卡图像已在使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照从没有成功这个问题的答案。我不能给贴的答案(缺乏信誉的)响应,所以我不得不作出一个新的问题。

I have followed the answers from this question without success. I could not respond to the posted answer (lack of reputation) so I had to make a new question.

清除所有的亚行的进程不'已经SD卡图像中使用缓解错误。同样,如果我删除SD卡中的形象,创造一个新的,然后的立即的启动模拟器,错误仍然存​​在。模拟器负载连接到手机的主屏幕后,将显示已移除SD卡的信息。这里是我的命令行如下调用仿真器时,如:

Purging all adb processes does not alleviate the 'SD Card image already in use' error. Similarly, if I delete the SD card image, create a new one, then immediately launch the emulator, the error persists. After the emulator loads to the phone home screen, an "SD Card Removed" message is displayed. Here is what my command line looks like when calling the emulator:

jet98f @ rc04ucs213:到/ mnt / DFS / jet98f /用户/ jet98f / Android的SDK-Linux的/工具$模拟器-avd电话-sdcard sdcard.iso

jet98f@rc04ucs213:/mnt/dfs/jet98f/Users/jet98f/android-sdk-linux/tools$ emulator -avd Phone -sdcard sdcard.iso

警告:数据分区已被使用。更改将不会持久!

WARNING: Data partition already in use. Changes will not persist!

警告:SD卡图像已经在使用中:sdcard.iso

WARNING: SD Card image already in use: sdcard.iso

警告:缓存分区已在使用。更改将不会持久!

WARNING: Cache partition already in use. Changes will not persist!

无法/nethome/users/jet98f/.pulse/f4ac236e8e0d8ef32a8796d24e3c758b-runtime符号链接到/ tmp /脉冲2L9K88eMlGn7:不支持操作

Failed to symlink /nethome/users/jet98f/.pulse/f4ac236e8e0d8ef32a8796d24e3c758b-runtime to /tmp/pulse-2L9K88eMlGn7: Operation not supported

仿真器:仿真器窗口是拿出来看并recentered

emulator: emulator window was out of view and was recentered

编辑:一件事:跑'lsof的| grep的SD卡,结果没有回报。也就是说,UNIX工具说,文件未打开,但亚洲开发银行债权的形象已在使用。

One more thing: running 'lsof | grep sdcard ' results in no returns. That is, the UNIX utility says the file is not open, yet adb claims the image is already in use.

推荐答案

删除锁定进程文件?

我对Windows7的,并具有SD卡图像同样的问题,以及与Eclipse不想与亚洲开发银行连接的一般问题。国家似乎不同步。

I am on Windows7 and was having the same problem with the SD Card image, as well as general problems with Eclipse not wanting to connect with the Adb. The state seems to get out of sync.

在Windows中,有锁的文件。在我的情况(环境,如果你愿意)是 C:\\用户\\乔\\ .android \\ AVD \\ Em22.avd \\ XXX \\ PID

In windows, there are lock files. In my case (environment, if you will) it is C:\Users\joe\.android\avd\Em22.avd\xxx\pid

其中xxx为:


  • cache.img.lock

  • 硬件qemu.ini.lock

  • sdcard.img.lock的<<< ---

  • 用户数据-qemu.img.lock

在日食的状态似乎失去了,我关都记录下来,并在锁定目录中删除的pid文件。它确实至少有一次的伎俩,其中的Eclipse不会与亚行连接,并且当它没有,抱怨锁定SD卡图像。

When the state of eclipse seems lost, I shut everything down, and delete the pid files in the lock directories. It did the trick in at least one occasion where Eclipse would not connect with adb, and when it did, complained about locked sd card image.

哎呀,我只注意到它在链接回答原来的问题是一样的。

Ooops, I just noticed it has the same answered in link in original question.

这篇关于Android模拟器的SD卡图像已在使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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