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环境下关闭防火墙即可