My logcat shows
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.storemanager/android.content.ClipData$Item}; have you declared this activity in your AndroidManifest.xml?
My intent is like this
Intent intent = new Intent(CategoryMain.this, Item.class);
intent.putExtra("childData", childDataMap);
startActivity(intent);
Android Manifest is like
<activity android:name="CategoryMain" >
</activity>
<activity android:name="Item" >
</activity>
found this question, it is mentioned that it might be due to some nullpointer exception in the next activity, I tried to debug it but the debugger does not moves to the next activity. Please tell me where I am wrong ?
Edit: I have already tried changing "Item" to ".Item"
SOLVED: after trying each and every method , finally I came to realize there was no problem with my android manifest . The problem was a nullpointerexception
in the oncreate
method in the next activity.