I have a Android test project. in the resources folder I have strings and colors, but none of the resources are available. I cannot see any of my strings or colors. I have cleaned and rebuilt the project without any luck.
To access a resource I am using:
String test = context.getResources(R.string.button_text);
In this particular case button_text
cannot be resolved.
In the strings resource I have four strings
<string name="button_text">Install</string>
<string name="button_run_unit_tests">Run All Tests</string>
<string name="Quit">Quit</string>
<string name="IsolatedTest">Run Unit Test</string>
But I cannot access any from my Java resource files. What am I missing?
This is what I see (not sure what it's referencing):