[已解决]adb server version (31) doesn't match this client (36); killing... error: could not install *sm

运行adb 命令的时候报错:

C:\Users\Administrator>adb devices

List of devices attached
adb server version (31) doesn't match this client (36); killing...
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 (10048)
could not read ok from ADB Server
* failed to start daemon *

error: cannot connect to daemon

[已解决]adb server version (31) doesn't match this client (36); killing... error: could not install *sm_第1张图片

原因分析:

这个是socket 的端口被占用了,我这里是因为360手机助手占用了这个端口,所以其他的就不能够用了。


解决办法:

卸载了360的手机助手就可以了,

首先 打开360安全卫士,点击右下角的 “更多+”-》点击“我的工具”-》点击左下角的“编辑”-》点击“手机助手”上面的X


这个时候可能会删除不了,那么就要删除手机助手的进程,如图里面的360Mobile。。这些,然后就可以删除了

然后再执行adb 命令就可以了

[已解决]adb server version (31) doesn't match this client (36); killing... error: could not install *sm_第2张图片

你可能感兴趣的:(开发中遇到的问题解决,TroubleShooting)