Appium——adb 启动问题Invalid argument: cannot open transport registration socketpair could not read ok fr...

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掉占用端口的进程

转载于:https://www.cnblogs.com/dreamyu/p/8032588.html

你可能感兴趣的:(测试,开发工具)