Android 第三方仓库错误导致打包失败

 阿里百川SDK仓库 下午3:00-6:00打不开,导致项目打包失败,等晚上6:30,下面路径可以成功访问,打包成功

http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/aliyun/dpa/oss-android-sdk/

http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/aliyun/dpa/oss-android-sdk/

 异常日志

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':tools:generateTsReleaseRFile'.
> Could not resolve all task dependencies for configuration ':tools:tsReleaseRuntimeClasspath'.
   > Could not resolve com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+.
     Required by:
         project :tools > com.iklicen.android:mobilepay:1.0.5
      > Failed to list versions for com.tencent.mm.opensdk:wechat-sdk-android-without-mta.
         > Unable to load Maven meta-data from http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/maven-metadata.xml.
            > Could not HEAD 'http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/maven-metadata.xml'. Received status code 500 from server: Server Error

* 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.

最终解决办法

把加号改成具体版本号,仓库包中如果引入也要改,app引入新的插件,重新编译

com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.7.9

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

黄毛火烧雪下

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值