Unable to access Google’s Maven repository: Gradle stuck at resolving dependencies.

huangapple go评论62阅读模式
英文:

Unable to access Google's Maven repository: Gradle stuck at resolving dependencies

问题

谷歌的Maven存储库似乎可能正在经历停机时间,因为我无法访问https://dl.google.com/dl/android/maven2/index.html,并且wget https://dl.google.com/dl/android/maven2/index.html命令已超时。另外,https://maven.google.com/web/index.html 看起来完全为空。对于如何继续进行的任何建议将不胜感激。

英文:

It seems that Google's Maven repository may be experiencing downtime, as I am unable to access https://dl.google.com/dl/android/maven2/index.html, and the wget https://dl.google.com/dl/android/maven2/index.html command has timed out. Additionally, https://maven.google.com/web/index.html appears to be completely empty. Any suggestions on how to proceed would be greatly appreciated.

答案1

得分: 2

如果在访问Google的Maven仓库时遇到问题,请确保您可以下载仓库的主索引。

curl https://dl.google.com/android/maven2/master-index.xml

在我的情况下,我无法下载主索引,并且认为服务可能已经停止。

此外,您可以检查依赖项是否在https://maven.google.com/web/index.html上列出。

英文:

If you're having issues when accessing Google's Maven repository, make sure you can download the repository master index.

curl https://dl.google.com/android/maven2/master-index.xml

In my case, I couldn't download the master index and assumed that the service is down.

Additionally, you can check if the dependencies are listed on https://maven.google.com/web/index.html

huangapple
  • 本文由 发表于 2023年4月19日 15:53:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76051983.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定