adb server version (32) doesn't match this client (39); killing...
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 (10048)


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
could not read ok from ADB Server
* failed to start daemon *

error: cannot connect to daemon


解决方案:杀掉占用5037端口的进程,并重启adb服务

第一步:查看占用5037端口的程序

C:\Users\Administrator>  netstat -aon|findstr "5037" 

  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       6724
  TCP    127.0.0.1:5037         127.0.0.1:61581        ESTABLISHED     6724
  TCP    127.0.0.1:5037         127.0.0.1:63180        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:63181        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:63183        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:63184        TIME_WAIT       0

发现是端口6724

C:\Users\Administrator>tasklist | findstr "6724"

adb.exe                       6724 Console                   20      9,196 K


第二步:关闭adb.exe后重新启动

C:\Users\Administrator>adb kill-server

C:\Users\Administrator>adb start-server

使用adb shell命令测试一下

* daemon started successfully *
shell@Coolpad8675-A:/ $


成功解决



Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐