I’m having troubles with trying to build a code and I’m not sure how to fix it. I need to be able to build and deploy at our workshop, but it builds completely fine at home. It keeps coming up with the following:
- What went wrong:
A problem occurred configuring root project ‘FRC Reanu Keeves Robot Code 2020- Imported’.Could not resolve all artifacts for configuration ‘:classpath’.
Could not resolve edu.wpi.first:GradleRIO:2020.2.1.
Required by:
project : > edu.wpi.first.GradleRIO:edu.wpi.first.GradleRIO.gradle.plugin:2020.2.1
Could not resolve edu.wpi.first:GradleRIO:2020.2.1.
Could not get resource ‘https://plugins.gradle.org/m2/edu/wpi/first/GradleRIO/2020.2.1/GradleRIO-2020.2.1.module’.
Could not GET ‘https://jcenter.bintray.com/edu/wpi/first/GradleRIO/2020.2.1/GradleRIO-2020.2.1.module’.
Connection reset
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 4s
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
I’ve tried going to the offered site but it keeps giving a 404. I’ve found the site with the download, uploaded to the Program Files, and restarted VS Code, still nothing. Is it just an internet issue? I can’t fix that since I’m still enrolled in my high school, so if anyone has any fixes, that’ll be awesome. Thank You!!!