Wpilib not found?

Our code is copied to our Rio (./gradlew deploy) , but I’m getting a NoClassDefFound error for TimedRobot, our parent class. I think this means wpilib is not on our Rio? Should the deploy feature have done this, or am I missing something?

Are you using a new 2020 project created with vscode, an imported 2019 project, or a custom modified project that you attempted to update to 2020. Manually updating a 2019 project to 2020 can cause issues like this.

It was a project that we’d manually updated. Creating a 2020 project from scratch and copying our code into it solved everything. Thanks for the tip

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