ChuQuan
ChuQuan

Reputation: 81

Gradle Download https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.4/ very slow and failed

I'm in China and use proxy. My config:

classpath 'com.android.tools.build:gradle:2.1.3'

distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

config

when Gradle sync,it always shows

problem

I also search the jar in my computer and i find i have this jar. i also can enter the: https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.4/

why? what can i do? Thanks~

Upvotes: 0

Views: 639

Answers (2)

ChuQuan
ChuQuan

Reputation: 81

It depends on the Network. so if it's not very urgent. How about stop download it and choose a nice time to continue download it.

Upvotes: 1

Rijad Rahim
Rijad Rahim

Reputation: 419

download the gradle.zip to your local folder and change the distribution url in gradlebuilder file.

Upvotes: 0

Related Questions