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群號。 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM