1、在cmd命令框里输入adb devices
C:\Users\BMM>adb devicesadb server is out of date. killing...ADB server didn‘t ACK* failed to start daemon *error: 先执行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-10-26 16:05:26