If you crash, the stack trace might suggest that there is a problem tied to your
resources. One common flavor of this is a ClassCastException when you call
findViewById(). For example, you might call (Button)findViewById(R.id.button),
yet get a ClassCastException: android.widget.LinearLayout as a result,
indicating that while you thought your findViewById() call would return a Button,
it really returned a LinearLayout.