gpt4 book ai didi

android - 无法获取 'google.bintray.com/exoplayer/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml'。从服务器 :Bad Gateway 收到状态代码 502

转载 作者:行者123 更新时间:2023-12-05 00:00:49 26 4
gpt4 key购买 nike

我在尝试调试我的 flutter 应用程序时遇到此错误。

> 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 版本但没有任何效果。

当前使用的 gradle 和 gradle 插件版本:

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

最佳答案

Google bintray 已关闭。任何依赖于此的插件都会尝试与 https://google.bintray.com/ 通信从而引发此错误。

它通过升级所有插件对我有用。

关于android - 无法获取 'google.bintray.com/exoplayer/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml'。从服务器 :Bad Gateway 收到状态代码 502,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70178800/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com