Eclipse连不上模拟器的问题[emulator-5554 disconnected] 与 ERROR: the user data image is used by another emulator. aborting
来源:互联网 发布:大学c语言必背基础知识 编辑:程序博客网 时间:2024/05/16 06:28
ERROR:emulator-5554 disconnected,the user data image is used by another emulator
使用Android模拟器经常遇到连不上、连一次掉一次等诸多问题
在此种情形下,重启ADB即可:
在eclipse下:
window -> Show Views -> device -> view menu -> Reset adb
或者在命令行状态下:
adb kill-server---再adb start-server;
-----------------------------------------------------------------------------------------------------------------------------
ERROR: the user data image is used by another emulator. aborting
问题原因:avd的加锁机制使然。 .lock是加锁,如果程序崩溃或者不是正常退出等原因导致无法清除这些以.lock结尾的文件夹,就会出现这个问题,也就是这个avd的锁没有被释放,导致avd manager以为这个avd正在使用当中。他会默认锁定该模拟器还是在运行,资源被占有了。
解决:
1. winXP:
C/Documents and Settings / 用户 / .android /的AVD / *设备* / (比如我的目录是:C:/Documents and Settings/Administrator/.android/avd/android2.0.avd)
然后删去以.lock结尾的文件夹就行(我简单解释下为什么要删除这些文件呢,其实.lock是加锁,如果程序崩溃等原因导致无法清除这些以.lock结尾的文件夹,就会出现这个问题,也就是这个avd的锁没有被释放,导致avd manager以为这个avd正在使用当中。)
2. win7:
C/用户/user/.android/avd/找到该目录下与模拟器对应的avd,然后删除其中的.lock文件即可。
其中,以上所说的.lock文件夹就以下几个:cache.img.lock/userdata-qemu.img.lock/(sdcard.img.lock)
sdcard.img.lock根据你设置而定!我的就没有设置sdcard,所以就没有!
- Eclipse连不上模拟器的问题[emulator-5554 disconnected] 与 ERROR: the user data image is used by another emulator. aborting
- Eclipse连不上模拟器的问题[emulator-5554 disconnected] 与 ERROR: the user data image is used by another emulator. aborting
- emulator: ERROR: the user data image is used by another emulator. aborting 问题的解决方案
- Android emulator: ERROR: the user data image is used by another emulator. aborting 问题
- 如何解决:ERROR: the user data image is used by another emulator. aborting 的问题
- 如何解决:ERROR: the user data image is used by another emulator. aborting 的问题
- 错误:emulator-5554 disconnected,the user data image is used by another emulator 使用Android模拟器经常遇到连不上
- emulator: ERROR: the user data image is used by another emulator. aborting
- emulator: ERROR: the user data image is used by another emulator. aborting
- emulator: ERROR: the user data image is used by another emulator. aborting
- emulator: ERROR: the user data image is used by another emulator. aborting
- emulator: ERROR: the user data image is used by another emulator. aborting 解决
- emulator: ERROR: the user data image is used by another emulator. aborting
- emulator: ERROR: the user data image is used by another emulator. aborting
- the user data image is used by another emulator. aborting
- ERROR: the user data image is used by another emulator. aborting 的错误解决方法
- emulator: ERROR: the user data image is used by another emulator. aborti问题的解决
- [2011-01-16 01:01:06 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting
- C#中split的运用
- BSP技术详解
- VS2010安装到 "VsaEnv_Setup_x86_chs" 卡住的解决办法
- WinCE系统架构
- SQL语句执行效率及性能测试
- Eclipse连不上模拟器的问题[emulator-5554 disconnected] 与 ERROR: the user data image is used by another emulator. aborting
- 各种开发源代码软件许可证异同
- lextools
- /: UNEXPECTED INCONSISTENCY; RUN FSCK MANUALLY
- Windows平台上安装编译ACE
- c++中new的用法
- sql server 查看执行效率低下的语句
- 2011职业发展技术规划
- Support - Unable to register keys or sign a file while behind a proxy server