I am the lead programmer for my team and we have just finished some basic code to get our robot driving during teleop. However, when I try to deploy the code to the roborio from VS code I get errors saying "RoboRIO image and GradleRIO versions are incompatible. I have reimaged and updated the roborio and even reinstalled the WPILIB. Nothing works. Any help would be much appreciated! Below is the full error message:
Invalid RoboRIO Image Version!
RoboRIO image and GradleRIO versions are incompatible:
Current image version: 2023_v3.1
GradleRIO-compatible image versions: 2022_v3.*
for information about updating WPILib and GradleRIO.
2 other action(s) failed resolution.
1 other action(s) resolved but not connected.
Run with --info for more details
Task :discoverroborio FAILED
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.