I\'m making a quiz program for android, and to keep things compatible for different languages, I\'ve put all my quiz questions and labels in my strings.xml file. Basically
You're accessing resources too early, in MainActivity. e.g. field initialization. You can only use your activity as a Context with Resources in onCreate() or later in the activity lifecycle.
Move the getResources() and getStringArray() calls to onCreate().