首页 > 技术文章 > adb shell出错“error: unknown host service”

sharecenter 2016-06-21 16:28 原文

已经测试,可用;

在命令行输入adb shell后输出如下错误:
adb server is out of date.  killing...
ADB server didn't ACK
* failed to start daemon *
error: unknown host service
解决办法如下:
1>输入netstat -ano查看哪个程序占用了5037端口,
 TCP    0.0.0.0:49160          0.0.0.0:0              LISTENING       616
 TCP    0.0.0.0:52323          0.0.0.0:0              LISTENING       3768
 TCP    0.0.0.0:55595          0.0.0.0:0              LISTENING       6812
 TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       8040
2>输入tasklist /fi "pid eq 8040干掉这个应用程序就可以了


我电脑的原因是 360的问题,删除就好了;

推荐阅读