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

posted @ 2017-12-13 14:12  不当咸鱼  阅读(5766)  评论(0编辑  收藏  举报