先执行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即可
时间: 2024-09-19 19:53:22