jcenter 502 bad gateway after gradle refresh [closed]

孤街醉人 提交于 2019-12-18 12:54:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!