ADB启动不起来的问题

来源:互联网 发布:淘宝盗用图片申诉 编辑:程序博客网 时间:2024/05/01 11:16

    ADB启不来,报"The connection to adb is down, and a severe error has occured"  检查任务管理器,也没看到adb.exe. 尝试手工启动.  

C:\Ndk\adt-bundle-window\sdk\platform-tools>adb kill-server* server not running *C:\Ndk\adt-bundle-window\sdk\platform-tools> adb start-serveradb server is out of date.  killing...ADB server didn't ACK* failed to start daemon *
照样启不来.

上网查了下,有可能的原因是adb所用的5037接口被占用了.

查看下被哪些exe在使用此端口
   

C:\Ndk\adt-bundle-window\sdk\platform-tools>netstat -ano|findstr "5037"  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       2560  TCP    127.0.0.1:5037         127.0.0.1:9168         TIME_WAIT       0  TCP    127.0.0.1:5037         127.0.0.1:9169         TIME_WAIT       0
查看具体所使用的应用.

 

C:\Ndk\adt-bundle-window\sdk\platform-tools>tasklist|findstr "2560"kadb.exe                      2560 Console                    1      7,124 K
 查出是kadb.exe占用了, kill掉它后,再启动Eclipse,问题就解决了。

  

MAIL: xcl_168@aliyun.com

BLOG:http://blog.csdn.net/xcl168




0 0