当使用在cmd窗口调用adb shell命令的时候

提示如下:

appium===报错adb server version (31) doesn’t match this client (39); killing…的解决办法

adb server version (31) 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

解决办法:

这是360手机助手占用了5037端口号~

所以结束它:

appium===报错adb server version (31) doesn’t match this client (39); killing…的解决办法

然后拔掉手机,再链接,在执行命令:

appium===报错adb server version (31) doesn’t match this client (39); killing…的解决办法

ok!问题解决了~

顺便提一下


 

如果你也喜欢Python 这里有一群Python爱好者汇集在此。

关注微信公众号:【软件测试技术】,回复 888,获取QQ群号。 

相关文章:

  • 2021-11-06
  • 2021-12-20
  • 2022-12-23
  • 2021-05-22
  • 2021-05-22
  • 2022-02-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
  • 2021-10-21
  • 2021-10-27
相关资源
相似解决方案