Android开发中,ADB server didn't ACK 解决方法
The connection to adb is down, and a severe error has occured
等等
?
或者是当执行:
C:\Users\John>adb shell
adb server is out of date. ?killing...
ADB server didn't ACK
* failed to start daemon *
error: unknown host service
?
?
1、排查哪路英雄占用了 5037 端口,找出他的 PID 来算账。 netstat -ano 命令会出现好多行,仔细找找。
?
?
C:\Users\John>netstat -ano活动连接 协议 本地地址 外部地址 状态 PID?TCP ? ?127.0.0.1:5037 ? ? ? ? John-PC:0 ? ? ? ? ? ? ?LISTENING ? ? ? 5084
2、找到相关的 PID ,然后查看其名字,干掉即可。
?
?
C:\Users\John>tasklist /fi "pid eq 5084映像名称 PID 会话名 会话# 内存使用========================= ======== ================ =========== ============wandoujia2.exe 5048 Console 1 108,240 K
OK,干掉这个进程一般能搞定这个问题,感谢原文作者。