AndroidStudio使用札記

Failed to refresh Gradle project ‘service’

Unknown host ‘downloads.gradle.org’.

Please ensure the host name is correct. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.

HTTP proxy settings Open Gradle documentation

Android Studio 報如下錯誤

17:13:40 Failed to refresh Gradle project ‘service’

Unknown host ‘downloads.gradle.org’.

 Please ensure the host name is correct. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.

 HTTP proxy settings Open Gradle documentation

解決方法:

使用本地的Gradle環境:

配置Gradle

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章