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