当前位置: 首页> 文旅> 酒店 > adb server version (22000) doesn‘t match this client (41); killing...

adb server version (22000) doesn‘t match this client (41); killing...

时间:2025/7/12 7:02:20来源:https://blog.csdn.net/dreamfly130/article/details/139370412 浏览次数:0次

参考链接: adb server version (31) doesn’t match this client (41); killing… 解决此问题

电脑安装了360手机助手占用了adb的端口引起的。因为套接字的唯一性(一个套接字只能由 协议/网络地址/端口号 唯一确定 ),一个电脑只能有一个程序关联对应的端口,对于adb对应的端口就是5037。

为了验证5037端口是否被占用,可以用netstat -ano|findstr “5037” 去查找5037对应的端口号的进程id 也就是pid。

因为博文里已经说了是 手机助手导致的。我也没有去查这个返回的进程id是否是手机助手的。直接退出手机助手,再次adb shell连接手机成功。

C:\tools\platform-tools>adb shell
adb server version (22000) doesn't match this client (41); killing...
could not read ok from ADB Server
* failed to start daemon
adb.exe: cannot connect to daemonC:\tools\platform-tools>netstat -ano|findstr "5037"TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       27248C:\tools\platform-tools>adb shell
* daemon not running; starting now at tcp:5037
* daemon started successfully
关键字:adb server version (22000) doesn‘t match this client (41); killing...

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: