英文:
Gradle sync failed: Could not find com.android.tools.build:gradle:4.0.1
问题
在一个全新的AS(Android Studio)项目中,我们遇到了错误。在我们的代理设置中也存在错误。请查看下面的截屏图示:
我们如何解决这个错误呢?
更新:
当我们使用自动检测后,在点击尝试同步之后,会打开如下窗口:
英文:
In a fresh AS project we have error. in our proxy settings we have error too. see the screenshot below:
How can we solve error?
UPDATE:
When we use auto detect, after click to try sync, below window opened:
答案1
得分: 1
Sure, here's the translation:
你能尝试使用IP地址(fodev.org
的?确定这是正确的吗?)在这种情况下看看是否有效吗?
您可以勾选“自动检测代理设置”看看是否有帮助。
英文:
Can you try use IP address (of fodev.org
? are you sure this is correct?) in this case see whether it works?
You can tick the auto-detect proxy settings
see whether it helps or not.
答案2
得分: 0
fodev.org:8118
似乎是可以访问的,至少从这里是可以的。也许尝试使用另一个代理,或者找一个在你所在国家/地区提供节点的VPN提供商。作为付费用户,当它不起作用时你可以向他们反馈问题,但对于某些类似的免费服务则不行:https://github.com/freedomofdevelopers/fod
英文:
fodev.org:8118
seems to be accessible, at least from here. Maybe try to use another proxy, or find a VPN provider, that offers endpoints in your country of residence. As a paying customer you could bug them, when it doesn't work - not so with some free of charge service alike: https://github.com/freedomofdevelopers/fod
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论