Gradle Sync Failed: Cause: https://downloads.gradle.org/distributions/gradle-3.1.2-all.zip
Asked Answered
M

2

6

I'm at importing old project done on Eclipse. and got updates using Helps--> Check for Updates then, press "Sync Project with Gradle Files" button. so, in 2 seconds, this message appeared at Build:sync and Event log windows

Please help me with right ways of experience.

Masbate answered 28/4, 2018 at 6:31 Comment(2)
What is "this message"? Is there a full stack trace you forgot to share?Nitwit
Are you certain you did an "Import" from eclipse model and not an "Open"? if you messed up your open process, just delete all the build directories, .idea and .iml files and then try again on a fresh import. Then do gradle syncOrpah
S
7

That distribution doesn't exist (https://services.gradle.org/distributions/)

To fix it change your distributionUrl in the gradle-wrapper.properties file to a valid version. For example

distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
Surrebuttal answered 1/5, 2018 at 18:29 Comment(0)
C
0
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

Try going to the link and downloading the zip file.

Corvette answered 5/7, 2018 at 0:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.