Through adding and removing certain parts of my app, I was able to determine that the following lines creating java fields for string codes was causing a crash in my app (starting with a white screen, then goes black and says the app is not responding);
private final String HIGH_SCORE = getString(R.string.highscore_code);
private final String CURRENT_SCORE = getString(R.string.currentscore_code);
This is my strings.xml file, which I expected to be the source of these strings using this code from the research I conducted online;
<resources>
<string name="app_name">My App</string>
<string name="action_settings">Settings</string>
<string name="title_activity_my_menu">MyMenu</string>
<string name="highscore_code">HIGH_SCORE</string>
<string name="currentscore_code">LAST_SCORE</string>
</resources>
I would highly appreciate if anyone here knows how to correctly load the strings.