gradle project refresh failed: protocol family unavailable

gradle project refresh failed: protocol family unavailable


帮新同事安装android studio,安装完毕导入项目时候发现报这个异常:

gradle project refresh failed: protocol family unavailable

同时伴生另外一个错误:

Internal HTTP server disabled: Cannot start internal HTTP server. Git integration, JavaScript debugger and LiveEdit may operate with errors. Please check your firewall settings and restart Android Studio

按照提示关闭防火墙然后重启,再rebuild一下就好了。

你可能感兴趣的:(Android,Studio那些事儿)