adb shell 错误

使用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即可。

Comments

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×