Connection to https://jcenter.bintray.com refused
Build agent is returning below exception: (I have verified through the browser that URL is reachable though)
[Gradle failure report] FAILURE: Build failed with an exception.
[12:35:10][Gradle failure report]
[12:35:10][Gradle failure report] * What went wrong:
[12:35:10][Gradle failure report] A problem occurred configuring root project '31b691baef585827'.
[12:35:10][Gradle failure report] > Could not resolve all dependencies for configuration ':classpath'.
[12:35:10][Gradle failure report] > Could not resolve com.android.tools.build:gradle:2.3.0.
[12:35:10][Gradle failure report] Required by:
[12:35:10][Gradle failure report] :31b691baef585827:unspecified
[12:35:10][Gradle failure report] > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.0/gradle-2.3.0.pom'.
[12:35:10][Gradle failure report] > Connection to https://jcenter.bintray.com refused
Please sign in to leave a comment.
This is usually a connectivity issue. Are you still facing it? If so, could you provide more details? Teamcity version, gradle version, etc
This issue has been resolved by adding proxy settings to gradle.property files
Thanks
I have the same problem with you, how to add proxy settings to file gradle.property
thanks