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

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

adb server端口被占用了,先执行adb nodaemon server ,查看adb server的端口是多少

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

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

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即可

nathanma

leave a comment

Create Account



Log In Your Account