Gradle sync failed: Could not find com.android.tools.build:gradle:4.0.1 [closed]

Tags: , ,



In a fresh AS project we have error. in our proxy settings we have error too. see the screenshot below:

Android Studio settings

How can we solve error?

UPDATE:

When we use auto detect, after click to try sync, below window opened:

check poiner area

Answer

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.



Source: stackoverflow