Skip to content Skip to sidebar Skip to footer

Unfortunately Project_Name Has Stopped

I have a simple app that you enter text into the textview and press submit and it shows the text in another Activity. However, when I press submit, gives me the message 'Unfortunen

Solution 1:

If you take a better look at the error log you'll see:

Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.point/com.point.DisplayMessageActivity}; have you declared this activity in your AndroidManifest.xml?

So, is your DisplayMessageActivity declared in the AndroidManifest.xml file?


Solution 2:

Add this to your manifest file under Application Tag:

<activity android:name=".DisplayMessageActivity"></activity>

Solution 3:

From your stack trace:

Unable to find explicit activity class {com.point/com.point.DisplayMessageActivity}; 
have you declared this activity in your AndroidManifest.xml?

Have you?


Post a Comment for "Unfortunately Project_Name Has Stopped"