VSCode + Java robot deploy fails after updating wpilib

We are getting errors:

BUILD FAILED in 5s
2 actionaable tasks: 1 executed, 1 up-to-date
The terminal process terminated with exit code: 1

Executing tasks: gradlew InstallAllTools --offline -Dorg.gradle.java.home=“C:\Users\Public\frc2019\jdk”

Task :OutlineViewerInstall FAILED

FAILURE: Build failed with an exception

etc…

You didn’t actually paste the error… we can’t help you without it

If you could post more errors that would be great. Did it only happen once, or does it happen every time you open vscode?

Try connecting to the Internet and running the task without the –offline argument.

For nearly every random build failure we’ve gotten like that, running it once online fixes the problem.

You can just copy and paste the build line into a new terminal line within VS Code and remove the --offline.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.