ADB server didn't ACK 问题解决

在命令行中运行adb shell 出现如下错误提示

C:Documents and SettingsAdministrator>adb shell
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
error: protocol fault (no status)

经过调试之后发现产生这个问题的原因是:adb使用的5037端口被其他应用程序(豌豆荚、暴风手机助手,sjk_deamon.exe)占用。

1.查看5037端口被哪些应用程序占用

这里使用Fport工具,Fport工具可以比系统自带的netstat -ano显示更详细的信息,包括程序所在位置。(也可以使用有图形化界面的Currports)

C:Documents and SettingsAdministrator>d:

D:>Fport.exe |findstr 5037
0 System -> 5037 TCP
2184 adb -> 5037 TCP C:Program FilesBaofengPhoneAssistantadb
.exe

或者 netstat -nao |findstr 5037

2.通过fport获得了进程号之后,关闭该进程号对应的进程

D:>tskill 2148
找不到进程: 2148

D:>tskill 2184

参考:http://blog.csdn.net/johnnycode/article/details/7678083

原文地址:https://www.cnblogs.com/jiangz/p/3217116.html