问题
Unable to connect to jcenter address https://jcenter.bintray.com/
Got an 502 Bad Gateway response
And also in my intellj IDE after I click gradle refresh
Could not GET 'https://jcenter.bintray.com/com/github/jnr/jffi/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
Anyone knows what happened?
回答1:
Bin tray is experiencing "intermittent issues" on their download network : https://status.bintray.com/
回答2:
suggest you can remove jcenter(),and config aliyun maven
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'
}
来源:https://stackoverflow.com/questions/55276770/jcenter-502-bad-gateway-after-gradle-refresh