Failed to import new Gradle project : Could not install Gradle distribution from ‘http://services.gradle.org/distributions/gradle-1.6-bin.zip’.
java.net.UnknownHostException: services.gradle.org
services.gradle.org
Consult IDE log for more details (Help | Show Log)
解决步骤:
一、手动下载:http://services.gradle.org/distributions/gradle-1.6-bin.zip,解压至一固定目录
二、配置环境变量path添加gradle的bin目录,如:D:\Develop\Android\gradle-1.6
三、CMD运行命令:gradle -v,验证成功
四、重启 Android Studio 并新建项目