接通android虚拟机的电源时,可能会出现adb无法启动的问题。
这些情况包括:
1 .报告错误:
构建失败
d :workspaceganjibuild.XML 3360144: thefollowingerroroccurredwhileexecutingthisline 3360
d :workspaceganjibuild.XML :271: unabletodeletefiled :workspaceganji tmp proguard
原因和解决方法:
打开了模拟器。 无法重新编译。 必须关闭一个
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-1109336036336056-hello opone ] youmustrestartadbandeclipse。
[ 2010-03-1109336036336056-hello opone ] pleaseensurethatadbiscorrectlylocatedat‘d : (ophone SDK _ 1.5 ) ]
platform-toolsADB.exe’andcanbeexecuted。
解决方案:
方法1 .在cmd上安装adb kill-server,然后安装adb -startserver
方法2 .方法1无所谓,在任务管理器中杀死adb.exe,然后重新启动Eclipse。
方法3 .方法1和方法2都没有关系,请确认最后的错误。 platform-tools中有adb.exe吗? (我的错误是相关路径下没有platform-tools文件夹
所以,我们决定创建新文件夹,并将所有tools文件复制到platform-tools中。)
4 .如果尝试前面的方法还不行,建议重新安装系统。 你最好换个系统。 (这是在无论如何都没办法的情况下使用的吧,但是没办法的t^t ) ) ) ) ) ) )。
另一个原因是别人遇到过,请作为参考。 我们在Windows DOS窗口中输入ADB shell后,会出现以下错误。 adbserverisoutofdate.killing…adbserverdidn’tack * failedtostartdaemon * error 3360 unknownhostservice,此问题安装在您的电脑上