阿里百川SDK仓库 下午3:00-6:00打不开,导致项目打包失败,等晚上6:30,下面路径可以成功访问,打包成功
异常日志
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