Appium——adb 启动问题Invalid argument: cannot open transport registration socketpair could not read ok from ADB Server failed to start daemon * error: cannot connect to daemon


adb启动问题:Invalid argument: cannot open transport registration socketpair could not read ok from ADB Server failed to start daemon * error: cannot connect to daemon

解决办法:

关闭系统自带的防火墙,重启OK

(之前一直是关闭的,使用TeamViewer的时候把防火墙打开了)

 

另附解决adb端口占用问题解决:

1、adb nodaemon server  查看abd服务是否正常

2、netstat -ano | findstr "5037"  查看adb端口占用情况

3、tasklist|findstr "XXX" 查看占用进程名

4、kill掉占用端口的进程


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM