1. 程式人生 > >Cannot start internal HTTP server. Git integration, JavaScript debugger and LiveEdit may operate 。。。

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.exe4.記得專用和公共都要勾選上。點選確定。然後在androidstudio上sync即可。