现在的位置: 首页 > 综合 > 正文

WARNING: Data partition already in use. Changes will not persist!WARNING: SD Card image already in u

2019年10月11日 ⁄ 综合 ⁄ 共 1466字 ⁄ 字号 评论关闭

第一个:

[2012-11-09 13:15:14 - Tesa] Android Launch!
[2012-11-09 13:15:14 - Tesa] The connection to adb is down, and a severe error has occured.
[2012-11-09 13:15:14 - Tesa] You must restart adb and Eclipse.
[2012-11-09 13:15:14 - Tesa] Please ensure that adb is correctly located at 'D:\学习\android-sdk-windows\platform-tools\adb.exe' and can be executed.
这个解决方法有多种:
1.进程中强制结束adb.exe,再重启Eclipse。
2.如果上面方法不行,看一下有没有类似91手机助手等工具正在开启,占用了该进程,有的话就关掉。
 

第二个:

[2014-03-31 10:22:31 - Emulator] WARNING: Data partition already in use. Changes will not persist!
[2014-03-31 10:22:31 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2014-03-31 10:22:31 - Emulator] qemu: could not open disk image C:\Users\Administrator\.android\avd\xiaomi.avd/sdcard.img: Operation not permitted

查了很多资料,实际上只要把两个文件 sdcard.img,snapshots.img,删除掉,再重启下模拟器;

类似的问题如果解决不了的话,重新创建一个模拟器就不存在问题了。

尝试重启下计算机,我的最后怎么也解决不了,重启才可以的。

[2014-03-31 10:30:26 - TestProject] New emulator found: emulator-5554
[2014-03-31 10:30:26 - TestProject] Waiting for HOME ('android.process.acore') to be launched...
[2014-03-31 10:30:38 - TestProject] HOME is up on device 'emulator-5554'
[2014-03-31 10:30:38 - TestProject] Uploading TestProject.apk onto device 'emulator-5554'
[2014-03-31 10:30:45 - TestProject] Installing TestProject.apk...
[2014-03-31 10:31:00 - TestProject] Success!
[2014-03-31 10:31:00 - TestProject] Starting activity org.liky.test.IndexActivity on device emulator-5554
[2014-03-31 10:31:02 - TestProject] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.liky.test/.IndexActivity }

 

 

抱歉!评论已关闭.