Execution failed for task ':discoverRoborio'

roborio

#1

Hello, our team is currently in the process of transferring all of our Eclipse code to Visual Studio. I recently got the project to build but it doesn’t deploy to the robot. Help would be appreciated this is our error message.

Task :discoverRoborio FAILED
Discovering Target roborio
admin @ roborio-6390-FRC.local: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2018_v17, allowed: [2019_v12]
admin @ 10.63.90.2: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2018_v17, allowed: [2019_v12]
admin @ 172.22.11.2: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2018_v17, allowed: [2019_v12]
3 other action(s) failed resolution.
1 other action(s) not started.
Run with --info for more details

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:discoverRoborio’.

A failure occurred while executing jaci.gradle.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.
  • Get more help at https://help.gradle.org

BUILD FAILED in 6s
4 actionable tasks: 3 executed, 1 up-to-date
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.
The terminal process terminated with exit code: 1


#2

You haven’t reimaged your roboRIO for 2019. (You have to do this each year.)