小编Nau*_*lus的帖子

502 google.bintray.com 网关错误

我已经开始在我的 android 项目中构建 Gradle,但是我遇到了以下问题,有人知道会发生什么吗?

我正在尝试从 Maven 获取 Tflite 依赖项,直到今天才遇到问题。

Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve org.tensorflow:tensorflow-lite:+.
     Required by:
         project :app > project :tflite
      > Failed to list versions for org.tensorflow:tensorflow-lite.
         > Unable to load Maven meta-data from https://google.bintray.com/exoplayer/org/tensorflow/tensorflow-lite/maven-metadata.xml.
            > Could not get resource 'https://google.bintray.com/exoplayer/org/tensorflow/tensorflow-lite/maven-metadata.xml'.
               > Could not GET 'https://google.bintray.com/exoplayer/org/tensorflow/tensorflow-lite/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
Run Code Online (Sandbox Code Playgroud)

android gradle maven

7
推荐指数
1
解决办法
4825
查看次数

Android 存储库 Flutter TensorFlow-lite by Bintray 中的问题 502

当我编译 Android Flutter 应用程序时,出现此错误

Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve org.tensorflow:tensorflow-lite:+.
     Required by:
         project :app > project :tflite
      > Failed to list versions for org.tensorflow:tensorflow-lite.
         > Unable to load Maven meta-data from https://google.bintray.com/exoplayer/org/tensorflow/tensorflow-lite/maven-metadata.xml.
            > Could not get resource 'https://google.bintray.com/exoplayer/org/tensorflow/tensorflow-lite/maven-metadata.xml'.
               > Could not GET 'https://google.bintray.com/exoplayer/org/tensorflow/tensorflow-lite/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
Run Code Online (Sandbox Code Playgroud)

Bintray 已关闭https://google.bintray.com/exoplayer/org/tensorflow/tensorflow-lite/maven-metadata.xml

错误 502 服务器 Bintray

出现此问题后,尝试将 android/build.gradle 中的存储库从 Jcenter() 更改为 mavenCentral()

我的 android/build.gradle

buildscript …
Run Code Online (Sandbox Code Playgroud)

android gradle bintray flutter tensorflow

5
推荐指数
1
解决办法
4871
查看次数

标签 统计

android ×2

gradle ×2

bintray ×1

flutter ×1

maven ×1

tensorflow ×1