首页 > 移动平台 > 详细

Android Studio Unknown host ‘downloads.gradle.org’

时间:2014-07-29 18:28:22      阅读:632      评论:0      收藏:0      [点我收藏+]

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环境: 


Ctrl + Alt + S 打开设置,选择 Gradle 条目,单选 "use local gradle distributio" 并指定你安装的Gradle路径。


Android Studio Unknown host ‘downloads.gradle.org’,布布扣,bubuko.com

Android Studio Unknown host ‘downloads.gradle.org’

原文:http://my.oschina.net/u/947024/blog/295916

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!