在开启android虚拟机的时候,可能会遇到adb不能启动的问题。
大概有以下几下情况:
1.报错:
BUILD FAILED
D:\workspace\ganji\build.xml:144: The following error occurred while executing this line:
D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar
原因与解决方法:
已经开了一个模拟器了,无法重新编译,必须关闭一个
2.报错:
The connection to adb is down, and a severe error has occured.
原因与解决方法:
在运行里,输入cmd.在DOS下进入到sdk tools文件路径下
输入adb kill-server杀死进程
然后再adb start-server重启进程
并在任务管理器中,去寻找一下有adb的程序,如酷狗音乐什么的,全部结束进程。可能是这些程序占用了abd
3.报错:
The connection to adb is down, and a severe error has occured.
[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.
[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located a