Android开发之adb无法连接

Posted 西北野狼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android开发之adb无法连接相关的知识,希望对你有一定的参考价值。

2017/11/14
21:20    Unable to run ‘adb‘: null

21:20    ‘E:\androidSDK\platform-tools\adb.exe start-server‘ failed -- run manually if necessary

21:20    error: cannot open transport registration socketpair: Invalid argument

21:20    This application has requested the Runtime to terminate it in an unusual way.

21:20    Please contact the application‘s support team for more information.

21:20    could not read ok from ADB Server

21:20    * failed to start daemon *

21:20    error: cannot connect to daemon
2017/11/14
21:20    Unable to run ‘adb‘: null

21:20    ‘E:\AndroidSDK\platform-tools\adb.exe start-server‘ failed -- run manually if necessary

21:20    error: cannot open transport registration socketpair: Invalid argument

21:20    This application has requested the Runtime to terminate it in an unusual way.

21:20    Please contact the application‘s support team for more information.

21:20    could not read ok from ADB Server

21:20    * failed to start daemon *

21:20    error: cannot connect to daemon

adb无法连接,出现如上日志文件

解决方法:

windows 10环境下关闭防火墙即可

以上是关于Android开发之adb无法连接的主要内容,如果未能解决你的问题,请参考以下文章

Android adb无法连接设备的总结

Android Studio 解决ADB检测不到手机导致无法连接的问题

Android 奇技淫巧之 ADB工具

App自动化测试必备之adb使用

Android系统之adb

Android系统之adb