运行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)

原因分析:

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

 

解决办法:

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

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

 

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

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

adb server version (31) doesn't match this client (36)

相关文章:

  • 2021-07-04
  • 2021-11-10
  • 2021-08-25
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
猜你喜欢
  • 2021-08-29
  • 2021-10-21
  • 2021-06-21
  • 2021-05-03
  • 2021-06-26
相关资源
相似解决方案