We Are Going To Discuss About Eclipse -Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’. So lets Start this Java Article.
Eclipse -Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’
- Eclipse -Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.1-bin.zip'
Download the ZIP by going to web -> https://services.gradle.org/distributions/gradle-2.6-bin.zip
Move the ZIP file into your project's “gradle/wrapper” directory
Open “gradle/wrapper/gradle-wrapper.properties” file
Make this edit “distributionUrl=gradle-2.6-bin.zip”
Refresh project 🙂 - Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.1-bin.zip'
Download the ZIP by going to web -> https://services.gradle.org/distributions/gradle-2.6-bin.zip
Move the ZIP file into your project's “gradle/wrapper” directory
Open “gradle/wrapper/gradle-wrapper.properties” file
Make this edit “distributionUrl=gradle-2.6-bin.zip”
Refresh project 🙂
Solution 1
Try these following steps:
- Download the ZIP by going to web -> https://services.gradle.org/distributions/gradle-2.6-bin.zip
- Move the ZIP file into your project’s “gradle/wrapper” directory
- Open “gradle/wrapper/gradle-wrapper.properties” file
- Make this edit “distributionUrl=gradle-2.6-bin.zip”
- Refresh project 🙂
Original Author yanike Of This Content
Solution 2
Got the Solution from the SO question
Spring STS 3.6.1 and Gradle plugin
Solution is
navigate to Windows->Preferences->Gradle.
On the right hand pane , set folder under gradle distribution to path to gradle directory.
I set it to "C:\software\gradle-2.6"
Original Author yanike Of This Content
Solution 3
I was also facing this issue and resolved it by fixing the build using following steps.
Go to the project home directory.
Run the below two commands
1) gradle wrapper
2) .\gradlew build
After these steps are completed, refresh the project in IDE using Gradle > Refresh Gradle Project
Original Author Bhupendra Bhoi Of This Content
Solution 4
Try adding your downloaded zip file to .gradle/wrapper/dists/ so it looks like .gradle/wrapper/dists/gradle-2.1-bin
Original Author thomasters Of This Content
Conclusion
So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.