adb服务无法启动

今天学习android编程发现调试出错

The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'C:\adt-bundle-windows-x86_64-20130917\sdk\platform-tools\adb.exe' and can be executed.

进程中adb没有启动,手动启动adb报错:

adb server is out of date.  killing...
输入adb nodaemon server

C:\sdk\platform-tools>adb nodaemon server
cannot bind 'tcp:5037'

 不能绑定端口,查找端口5037

C:\sdk\platform-tools>netstat -ano | findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 3928
TCP 127.0.0.1:5037 127.0.0.1:12211 ESTABLISHED 3928
TCP 127.0.0.1:12211 127.0.0.1:5037 ESTABLISHED 8788

 

查找3928和8788进程

坑啊,原来是我手机连接了电脑,QQ自动启动了tadb.exe 占用了端口,QQ又来耍流氓了

进程中杀掉tadb,搞定~ 别忘了重启eclipse

posted @ 2013-10-25 12:52  成群  阅读(641)  评论(0编辑  收藏  举报