Testing for default resources

Here's how to test whether an app includes every string resource that it needs:

1.      Set the emulator or device to a language that your app does not support. For example, if the app has French strings in res/values-fr/ but does not have any Spanish strings in res/values-es/, then set the emulator's locale to Spanish. (You can use the Custom Locale app to set the emulator to an unsupported locale.)

2.      Run the app.

3.      If the app shows an error message and a Force Close button, it might be looking for a string that isn't available. Make sure that your res/values/strings.xml file includes a definition for every string that the app uses.

If the test is successful, repeat it for other types of configurations. For example, if the app has a layout file calledres/layout-land/main.xml but does not contain a file called res/layout-port/main.xml, then set the emulator or device to portrait orientation and see if the app runs.