Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-5.4.1-all.zip'
I have just installed Android Studio 3.5 on windows and then created new project then above exception occurs. I have searched on google regarding the above error but none resolved.
Below are the links which I have tried but none worked
Is this issue is with Antivirus which is installed in local machine ?.I am just guessing, is this because of Antivirus ?
I was trying with this since 3 days.Please help me on this.Any help would be appreciated.
Download Gradle and unzip it to where you want it installed. Click the Advanced system settings link. Then click New button under user variable and add GRADLE_HOME to variable name and path pointing to the root directory of unpacked files from the Gradle to variable value.
Verify Gradle Installation. Now open the command prompt. In the command prompt, enter Gradle -version. It will display the current version of Gradle just installed on the screen.
On Mac: /usr/local/opt/gradle/libexec in case you installed it via brew . For Windows: specify the path where you installed Gradle.
I had the same problem and eventually I figured out that running Android Studio as administrator solves it. You can at least give it a try!
Steps to fix:
Goto gradle-wrapper and see carefully the URL distributionUrl=https \ ://services.gradle.org/distributions/gradle-6.1.1-all.zip
now correct the https \ :// to https:// and click on "try again upside."
it will took download the file and run automatically. And after successful run promote thi$ answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With