The “Unfortunately your Android app has stopped” error message

Android error FAQ: Help, I’m developing an Android app, and I’m getting an “Unfortunately your Android app has stopped error message”; how do I fix it?

If you’re getting an Android error message that looks like this while developing an application:

“Unfortunately your Android app has stopped error message”

It’s probably because you forgot to put a new Activity in the AndroidManifest.xml file. That’s been the #1 cause of this error message in my experience.

To resolve the problem, put an entry for your Activity in the AndroidManifest.xml that looks something like this:

<activity
  android:name=".ProjectsActivity"
  android:label="@string/projects_activity" >
</activity>

Of course your entry should reflect the name of your Activity, and your entry should go between the opening and closing <application> tags.