【问题标题】:React Native Android azure build failing randomlyReact Native Android azure build 随机失败
【发布时间】:2021-10-08 09:46:34
【问题描述】:

Azure 管道正在尝试从“https://dl.bintray.com/microsoftazuremobile/SDK/”下载资源。

同样的事情已经工作了一年,所以 Gradle 配置似乎不是问题,但现在它随机失败了一周。

实际错误:

> Could not get resource 'https://dl.bintray.com/microsoftazuremobile/SDK/com/huawei/hms/update/2.0.6.302/update-2.0.6.302.pom'.
> Could not GET 'https://dl.bintray.com/microsoftazuremobile/SDK/com/huawei/hms/update/2.0.6.302/update-2.0.6.302.pom'. Received status code 502 from server: Bad Gateway

任何想法如何解决?

【问题讨论】:

    标签: android azure react-native azure-notificationhub


    【解决方案1】:

    似乎 repo 已移动,文档未更新。 将 repo 从 bintray 更改为 mavenCentral

    -   maven { url 'https://dl.bintray.com/microsoftazuremobile/SDK' }
    +   mavenCentral()
    

    效果很好

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-10-10
      • 1970-01-01
      • 2023-03-21
      • 1970-01-01
      • 2018-08-26
      • 2020-09-08
      • 1970-01-01
      相关资源
      最近更新 更多