Eclipse-无法从"https://services.gradle.org/distributions/gradle-2.1-bin.zip"安装Gradle分发 [英] Eclipse -Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.1-bin.zip'
问题描述
我正在尝试在eclipse中创建一个新的gradle项目由于安全原因,Eclipse无法下载任何插件/软件
I am trying to create a new gradle project in eclipse Due to security reasons, Eclipse cannot download any plugins/software
当我尝试创建gradle项目时,出现以下错误
I get the below error , when i try to create a gradle project,
无法找到到所请求目标的有效认证路径从不安装Gradle发行版' https://services.gradle.org/distributions/gradle-2.1-bin.zip '.
但是我已经在本地计算机上下载了zip文件,如何在eclipse中添加此zip gradle-2.1-bin.zip
?
But I already downloaded the zip file in my local machine,
How to add this zip gradle-2.1-bin.zip
in eclipse ?
推荐答案
从SO问题中获得解决方案
Got the Solution from the SO question
解决方案是
导航至Windows-> Preferences-> Gradle.在右侧窗格中,将gradle分发下的文件夹设置为gradle目录的路径.我将其设置为"C:\ software \ gradle-2.6"
这篇关于Eclipse-无法从"https://services.gradle.org/distributions/gradle-2.1-bin.zip"安装Gradle分发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!