首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法从服务器获得'google.bintray.com/exoplayer/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml'.Received状态代码502 :坏网关

无法从服务器获得'google.bintray.com/exoplayer/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml'.Received状态代码502 :坏网关
EN

Stack Overflow用户
提问于 2021-12-01 03:29:20
回答 2查看 491关注 0票数 3

在调试我的颤振应用程序时,我得到了这个错误。

代码语言:javascript
复制
> Unable to load Maven meta-data from https://google.bintray.com/exoplayer/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml.
 > Could not get resource 'https://google.bintray.com/exoplayer/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml'.
  > Could not GET 'https://google.bintray.com/exoplayer/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 32s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDevDebug failed with exit code 1

直到昨晚我才能调试代码,没有进行任何代码更改。

我试过更改gradle版本,但没有任何效果。

目前使用的分级和分级插件版本:

代码语言:javascript
复制
com.android.tools.build:gradle:7.0.0  //in build.gradle
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip // in gradle-wrapper
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2021-12-14 02:12:37

谷歌绑定盘坏了。任何依赖于此的插件都将尝试与https://google.bintray.com/通信,从而引发此错误。

它通过升级所有插件为我工作。

票数 1
EN

Stack Overflow用户

发布于 2021-12-12 17:25:42

要同步分级,在某些情况下使用vpn,如果不使用这些,就会变得复杂

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70178800

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档