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

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

提示如下:

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端口号~

所以结束它:

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

ok!问题解决了~

顺便提一下


 

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

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

posted @ 2017-09-12 09:34  AAA五金批发王建军  阅读(1532)  评论(0编辑  收藏  举报