在网上找了一下相关的文章,发现了解决方法。方法来自这里:
http://blog.csdn.net/id19870510/article/details/8489486
开始时,启动eclipse发现出现异常,启动器提示信息:
The connection to adb is down, and a severe error has occured.
然后使用控制台进行操作,试着检测了一下adb。
键入adb kill-server 出现 server not running *
然后键入 adb start-server 想重新启动 adb 发现下面情况
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
后来才知道是某个进程绑定了当前端口,使得adb无法运行。使用:
adb nodaemon server
之后出现
cannot bind 'tcp:5037'
使用
netstat -ano | findstr "5037"
查看当前端口使用的进程,解决方法就是Kill了当前端口绑定的进程。然后重启adb。发现PINID为6000的进程,kill了它
taskkill /f /pid 6000
然后重启adb
然后问题就解决了。