Can't find my roborio

this is my second post today already :confused:
here is my error now

Executing task: gradlew deploy -PteamNumber=5429 --offline -Dorg.gradle.java.home=“C:\Users\Public\frc2019\jdk” <

Task :discoverRoborio
Discovering Target roborio
admin @ roborio-5429-FRC: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2020_v10, allowed: [2019_v12, 2019_v13]
3 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

Task :discoverRoborio FAILED

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 4s
6 actionable tasks: 2 executed, 4 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

RoboRIO Image invalid! RoboRIO: 2020_v10, allowed: [2019_v12, 2019_v13]

You have updated your RoboRIO image to 2020 but probably using gradle and libraries from 2019. Try downloading vscode libraries for 2020.

1 Like

the image and firmware is all up to date

If you are sure you have updated wpilib to 2020 version, try replacing the gradleRIO version in build.gradle to

id “edu.wpi.first.GradleRIO” version “2020.2.2”

under plugins section. If you are still getting an error, you can try reinstalling latest wpilib from here.

That won’t work. See https://docs.wpilib.org/en/latest/docs/software/wpilib-overview/importing-gradle-project.html

Oh thanks for correcting, I totally missed that. He should still be able to use the guide you linked to accomplish what I was trying to do.

Can’t find my roborio

I honestly read the title thinking, “did they look under the sofa?”

4 Likes

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