日期:2014-05-16  浏览次数:20487 次

"The connection to adb is down, and a severe error has occured."错误总结

        最近再次碰到了"The connection to adb is down, and a severe error has occured."这个报错,之前碰到过这个问题解决了,就没有理会,这次碰到用原来的方法解决不了,搞了半天终于搞定,今天简单做一个总结。

一.报错内容如下:

The connection to adb is down, and a severe error has occured. 
解决办法:

cmd跳到sdk安装路径的platform-tools文件路径下 (若添加将sdk的路径到环境变量中,则直接在cmd下执行下面命令即可)
adb kill-server 
adb start-server 


二.报错内容如下:

The connection to adb is down, and a severe error has occured. 
[2013-09-06 09:36:56 - HelloOPone] You must restart adb and Eclipse. 
[2010-09-01 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\Program Files\android-sdk-windows\platform-tools' and can be executed. 
解决办法:

1.启动任务管理器,查看adb.exe是否运行,若正在运行,cmd中adb kill-server,然后adb -startserver。

2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。

3.方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe(如果相关路径下面没有platform-tools文件夹 ,就要新建新建一个文件夹,并且把tools中的文件全部复制到platform-tools中)

4.启动任务管理器,如果找不到adb.exe,有可能是你安装了豌豆荚或者手机的链接工具,它在系统启动时占用了adb.exe的端口5037。这时需要启动cmd,输入命令:

netstata -ano

如下图: