* What went wrong:
A problem occurred configuring project .
> Could not resolve all dependencies for configuration ':mishop2client:GooglePlayDebugCompileClasspath'.
> Could not resolve com.huawei.hms:network-common:4.0.0.302.
Required by:
project :mishop2client
> Could not resolve com.huawei.hms:network-common:4.0.0.302.
> Could not get resource 'https://dl.bintray.com/thelasterstar/maven/com/huawei/hms/network-common/4.0.0.302/network-common-4.0.0.302.pom'.
> Could not HEAD 'https://dl.bintray.com/thelasterstar/maven/com/huawei/hms/network-common/4.0.0.302/network-common-4.0.0.302.pom'. Received status code 504 from server: Gateway Time-out
> Could not resolve com.huawei.hms:network-common:4.0.0.302.
Required by:
project :mishop2client > com.huawei.hms:network-grs:4.0.0.302
> Could not resolve com.huawei.hms:network-common:4.0.0.302.
> Could not get resource 'https://dl.bintray.com/thelasterstar/maven/com/huawei/hms/network-common/4.0.0.302/network-common-4.0.0.302.pom'.
> Could not HEAD 'https://dl.bintray.com/thelasterstar/maven/com/huawei/hms/network-common/4.0.0.302/network-common-4.0.0.302.pom'. Received status code 504 from server: Gateway Time-out此错误总是在Push Kit集成过程中报告的。我该怎么办?
发布于 2021-11-12 02:24:55
发布于 2021-11-15 02:12:39
Maven地址在您的日志中似乎不正确,请将maven替换到华为的存储库,建议您将该地址放在最后一个位置:
repositories {
google()
jcenter()
maven { url 'https://developer.huawei.com/repo/' }
}https://stackoverflow.com/questions/69937177
复制相似问题