Sunday, December 8, 2013

[Android][Solved with Images] Unable to find explicit activity class, have you declared this activity in your AndroidManifest.xml

This is my method to fix this error, step by step with images.
Hope it would for you too.
Error Msg :
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.reader/com.example.reader.Listview}; have you declared this activity in your AndroidManifest.xml? 

[Step 1] Select and edit AndroidManifest.xml in Package Explorer at the left hand side of Eclipse.



[Step 2] Add an activity, named with the activity you missed at the position (2) shown above.

        <activity
            android:name="your_missing_activity" >
        </activity>

for my case is :
        <activity
            android:name="com.example.reader.Listview" >
        </activity>


No comments :

Post a Comment