jcenter 502 gradle 刷新后网关错误 [已关闭]

2022-09-01 17:39:37

无法连接到 jcenter 地址 https://jcenter.bintray.com/

收到 502 错误网关响应

enter image description here

还有在我的intellj IDE中,我点击渐变刷新

Could not GET 'https://jcenter.bintray.com/com/github/jnr/jffi/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

有人知道发生了什么吗?


答案 1

Bin 托盘在其下载网络上遇到“间歇性问题”:https://status.bintray.com/

enter image description here


答案 2

建议你可以删除jcenter(),并配置阿里云maven

maven { 
  url 'http://maven.aliyun.com/nexus/content/groups/public/' 
}

maven { 
  url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'
}

推荐