Help with deploying java

when trying to deploy Java we got the following error
Execution failed for task ‘:discoverroborio’.

A failure occurred while executing edu.wpi.first.deployutils.deploy.target.discovery.TargetDiscoveryWorker
Target roborio could not be found at any location! See above for more details.

  • 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.

Scroll up to get more of the message. There should be more info about why the deploy failed. It likely is a mismatched image version.

this?

Task :discoverroborio FAILED
Missing Target!
=============================================
Are you connected to the robot, and is it on?
=============================================
GradleRIO detected this build failed due to not being able to find “roborio”!
Scroll up in this error log for more information.

FAILURE: Build failed with an exception.

Keep going…

Task :discoverroborio
Discovering Target roborio
admin @ roborio-8737-FRC.local: Connected.
Reason: InvalidImageException
Invalid RoboRIO Image Version!
RoboRIO image and GradleRIO versions are incompatible:
Current image version: 2022_v3.0
GradleRIO-compatible image versions: 2022_v4.*
See https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-3/imaging-your-roborio.htmlfor information about upgrading the RoboRIO image.
See i can’t post beacuse new user
for information about updating WPILib and GradleRIO.
admin @ 10.87.37.2: Connected.
Reason: InvalidImageException
Invalid RoboRIO Image Version!
RoboRIO image and GradleRIO versions are incompatible:
Current image version: 2022_v3.0
GradleRIO-compatible image versions: 2022_v4.*
See https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-3/imaging-your-roborio.htmlfor information about upgrading the RoboRIO image.
See links i can’t post beacuse new user
for information about updating WPILib and GradleRIO.
2 other action(s) resolved but not connected.
2 other action(s) failed resolution.
1 other action(s) not started.
Run with --info for more details

Your roborio has the wrong image. You need to install the 2022f1 game tools, and then reimage the roborio to 2022v4.0.

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