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