Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to create new gradle project and I am facing following error unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’ in Java. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
- How unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’ Error Occurs ?
- How To Solve unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’ Error ?
- Solution 1: follow this step
- Solution 2: set gradle distribution path
- Summary
How unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’ Error Occurs ?
I am trying to create new gradle project and I am facing following error.
unable to find valid certification path to requested target Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.1-bin.zip'
How To Solve unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’ Error ?
How To Solve unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’ Error ?
To Solve unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’ Error Just download this ZIP file. Then, Move the ZIP file into your project’s “gradle/wrapper” directory Now, Open “gradle/wrapper/gradle-wrapper.properties” file And Make this edit “distributionUrl=gradle-2.6-bin.zip” Refresh project. And now your error must be solved.
unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’
To Solve unable to find valid certification path to requested target Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’ Error Just download this ZIP file. Then, Move the ZIP file into your project’s “gradle/wrapper” directory Now, Open “gradle/wrapper/gradle-wrapper.properties” file And Make this edit “distributionUrl=gradle-2.6-bin.zip” Refresh project. And now your error must be solved.
Solution 1: follow this step
- Just download this ZIP file.
- Then, Move the ZIP file into your project’s “gradle/wrapper” directory
- Now, Open “gradle/wrapper/gradle-wrapper.properties” file
- And Make this edit “distributionUrl=gradle-2.6-bin.zip”
- Refresh project.
- And now your error must be solved.
Solution 2: set gradle distribution path
- First of all navigate to Windows
- Click on Preferences
- Then select Gradle.
- On the right hand pane.
- set folder under gradle distribution to path to gradle directory.
- And set it to “C:\software\gradle-2.6”
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read