ADB server didn't ACK

http://blog.csdn.net/xiaanming/article/details/9401981

1)查到adb.exe使用的端口是5037,查看5037端口被谁占用了,开始--运行--CMD 到命令提示符,输入 netstat -aon|findstr "5037"
 TCP    127.0.0.1:5037         127.0.0.1:52205        ESTABLISHED     4468
 TCP    127.0.0.1:5037         127.0.0.1:56432        ESTABLISHED     4468
 TCP    127.0.0.1:52046        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52111        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52113        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52114        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52119        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52120        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52121        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52122        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52123        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52124        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52125        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52126        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52127        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52128        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52129        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52130        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52131        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52193        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52195        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52196        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52197        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:52205        127.0.0.1:5037         ESTABLISHED     1820
 TCP    127.0.0.1:56432        127.0.0.1:5037         ESTABLISHED     1820

2)我们从上面根本就看不出5037端口被谁占用,我们需要根据后面的PID(1820)来查找占用该端口的应用程序,输入 tasklist|findstr "1820" ,如下:  
    C:\Users\admin>tasklist|findstr "1820"
    eclipse.exe                   1820 Console                    1    895,012 K

3)结束该进程,输入taskkill /f /t /im 你的进程名,例如eclipse.exe或者其他adb.exe,如下图,在重新连接手机,这时候你会发现程序运行起来了

你可能感兴趣的:(android,adb,ack)