adb shell 错误

本文最后更新于 2016年1月5日 上午

使用adb shell提示adb server is out of date. killing...?

#####是ADB端口被占用了

先执行adb nodaemon server ,查看adb server的端口是多少

1
2
C:\Users\xxxx>adb nodaemon server  
cannot bind 'tcp:5037'

再执行下netstat -ano | findstr "5037"

1
2
3
4
5
C:\Users\xxxxxx>netstat -ano | findstr "5037"  
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 4236
TCP 127.0.0.1:5037 127.0.0.1:49422 ESTABLISHED 搜索4236
TCP 127.0.0.1:49422 127.0.0.1:5037 ESTABLISHED 3840

最后执行tskill 4236即可。


adb shell 错误
https://yuluod.github.io/2015/05/16/adb-shell-错误/
作者
yuluo
发布于
2015年5月16日
许可协议