I have just updated my Android studio from 3.0.1 to 3.1.0
I am getting this error when Global Gradle setting
offline work is disabled
Could not GET 'https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom'. Received status code 502 from server: Bad Gateway Enable Gradle 'offline mode' and sync project
I tried enabling the Global Gradle setting
offline work then this error occurs
No cached version of org.glassfish.jaxb:jaxb-runtime:2.2.11 available for offline mode. Disable Gradle 'offline mode' and sync project
The problem is on the jcenter side, see http://status.bintray.com
Intermittent download failures Identified - There is an intermittent download failures due to an issue with CDN provider. CDN provider is investigating the issue. Mar 17, 21:29 UTC
Update your Project build gradle file with maven repo like below and check:
repositories {
google()
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven {
url "https://maven.google.com"
}
}
Also try with this changes if doesn't work
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
}
repositories {
maven {
url "http://repo1.maven.org/maven2"
}
}
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