码迷,mamicode.com
首页 > 移动开发 > 详细

Android Studio Unknown host ‘downloads.gradle.org’

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

标签:android   style   http   使用   os   io   ar   size   

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’

标签:android   style   http   使用   os   io   ar   size   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!