英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论