Hey, the programmers on team 6323 have been struggling with this error for a while. Some people will get it others will not.
Here is the error:
Executing task: gradlew deploy -PteamNumber=6323 --offline -Dorg.gradle.java.home=“C:\Users\Public\frc2019\jdk” <
Task :downloadDepsPreemptively FAILED
Task :discoverRoborio
Discovering Target roborio
Using [email protected]:22 for target roborio
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:downloadDepsPreemptively’.
Could not resolve all dependencies for configuration ‘:nativeZip’.
Could not resolve edu.wpi.first.hal:hal-cpp:2019.2.1.
Required by:
project :
No cached version of edu.wpi.first.hal:hal-cpp:2019.2.1 available for offline mode.
No cached version of edu.wpi.first.hal:hal-cpp:2019.2.1 available for offline mode.
No cached version of edu.wpi.first.hal:hal-cpp:2019.2.1 available for offline mode.
Could not resolve edu.wpi.first.wpiutil:wpiutil-cpp:2019.2.1.
Required by:
project :
No cached version of edu.wpi.first.wpiutil:wpiutil-cpp:2019.2.1 available for offline mode.
No cached version of edu.wpi.first.wpiutil:wpiutil-cpp:2019.2.1 available for offline mode.
No cached version of edu.wpi.first.wpiutil:wpiutil-cpp:2019.2.1 available for offline mode.
Could not resolve edu.wpi.first.ntcore:ntcore-cpp:2019.2.1.
Required by:
project :
No cached version of edu.wpi.first.ntcore:ntcore-cpp:2019.2.1 available for offline mode.
No cached version of edu.wpi.first.ntcore:ntcore-cpp:2019.2.1 available for offline mode.
No cached version of edu.wpi.first.ntcore:ntcore-cpp:2019.2.1 available for offline mode.
Could not resolve edu.wpi.first.cscore:cscore-cpp:2019.2.1.
Required by:
project :
No cached version of edu.wpi.first.cscore:cscore-cpp:2019.2.1 available for offline mode.
No cached version of edu.wpi.first.cscore:cscore-cpp:2019.2.1 available for offline mode.
No cached version of edu.wpi.first.cscore:cscore-cpp:2019.2.1 available for offline mode.
-
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 1s
3 actionable tasks: 2 executed, 1 up-to-date
The terminal process terminated with exit code: 1
I have tried to uninstall and reinstall many times to no avail. Any help would be great thanks.