Cannot start internal HTTP server. Git integration, JavaScript debugger and LiveEdit may operate 。。。

问题描述:

报错1:

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

报错2:

Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.Consult IDE log for more details (Help | Show Log)

问题原因:

Androidstudio的网络通信被网络防火墙阻止了


解决办法;

1.找到windows防火墙
2.点击更改设置,允许其他应用

3.添加androidstudio的安装路径,选择安装bin目录下的studio64.exe
4.记得专用和公共都要勾选上。点击确定。然后在androidstudio上sync即可。

你可能感兴趣的:(Cannot start internal HTTP server. Git integration, JavaScript debugger and LiveEdit may operate 。。。)