I can't fix the programming error

I’m currently writing code for the FTC competition, but even though the code seems correct, I’m getting an error. Here’s the error message: “Unknown host. (repo.maven.apache.org) You may need to adjust the proxy settings in Gradle.” I’ve tried changing the proxy settings and clicked on the links under the error message, but I still can’t fix it. Does anyone know how to solve this?

Are you connected to the internet? That error is saying it’s unable to find an IP address for that domain name (via DNS) when trying to fetch dependency libraries. Unless those dependencies are already cached locally on your computer, they would need to be pulled from a website.

2 Likes