Advantage kit "Buildconstants" issue

When attempting to build 6328’s example advantage kit code, an error stating “buildconstants cannot be resolved to a variable” pops up.

This issue also pops up when attempting to load up 2023 robot code from 6328 and 3476, both of which also have the error “buildconstants cannot be resolved to a variable”.

Image example from 6328’s example advantage kit code:

Is there a class or enum that I am missing?

Is it just red squiggles in vscode, or do you get an error while actually compiling?

That class is generated at build time, so the IDE won’t have anything to find until youve compiled at least once.

2 Likes

It was red squiggles in vs code. Apparently in all the times I loaded up the code I forgot to run a build on it.

Building the code solved the issue, thanks for the help!

2 Likes

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