ActivityNotFoundException

suggest change

This is a very common exception. It stops the application when the system cannot find an activity to start. In Logcat you see a message like:

android.content.ActivityNotFoundException : Unable to find explicit activity class; 
have you declared this activity in your AndroidManifest.xml?

In this case, check if you have declared your activity in the AndroidManifest.xml file.

The simplest way to declare your Activity in AndroidManifest.xml is:

<activity  android:name="com.yourdomain.YourStoppedActivity" />

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents