GradleRio not being able to detect roboRio, C++

I have been recently starting to work on our Frc robot in C++, but have run into a problem when i deploy my code the gradleRio is not being able to detect the roboRio. This is log i get in my terminal.

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

Driver Station reported IP: 10.63.90.2

Task :discoverRoborio FAILED
Discovering Target roborio
admin @ roborio-6390-FRC.local: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2019_v14, allowed: [2019_v12]
admin @ 10.63.90.2: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2019_v14, allowed: [2019_v12]
admin @ 172.22.11.2: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2019_v14, allowed: [2019_v12]
admin @ roborio-6390-FRC: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2019_v14, allowed: [2019_v12]
admin @ null: Connected.
Reason: InvalidImageException
RoboRIO Image invalid! RoboRIO: 2019_v14, allowed: [2019_v12]
2 other action(s) failed resolution.
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 9s
2 actionable tasks: 2 executed
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

Does anyone Know how to fix this problem?

Update to the latest version of gradleRIO. The plugin checks the image version against a static list, so newer roboRIO images don’t work with older gradleRIO versions.

Also, for future reference you may find it more helpful to post FRC specific questions to chiefdelphi