Skip to content Skip to sidebar Skip to footer

Android Activity Class Does Not Exists?

I have been developing a project in eclipse for an android app. An error which i frequently get is that of- activity class does not exist. But when i just save the manifest file on

Solution 1:

every time a new activity is added in the application, it needs to be added in the manifest file as well with a new tag. Make sure that u r doing this otherwise the new activity will not be considered. For reference see This

Solution 2:

I got this problem today.

Attention that: "class {acb.abc/acb.abc.LinkActivity}",you should modify the AndroidManifest.xml, change acb.abc.LinkActivity to ".LinkActivity". Then will be OK.

Solution 3:

You are not declairing your package name correctly in your manifest, thats what I guess. Either post your manifest or go through this discussion.

http://groups.google.com/group/android-developers/browse_thread/thread/ce62996fde2d4727

Cheers.....!!!!!!

Solution 4:

In may case, in Android Studio, I changed AndroidManifest.xml like this: change main Activity on my custom Activity. Then I start my app on emulation device, I get:

"Error type 3 Error: Activity class {...} does not exist.",

and may app failed.

I was forced delete my app on virtual device (use Application Manager in device) and restarted app in Android Studio. This solution helped me.

Solution 5:

I saw this error because I had installed my app as a built-in app, then disabled it to removed it. I thought I had removed it when I tried to run my app in eclipse as a "normal" app. I discovered that my app was still in system/app.

Once I removed it, I didn't see this error when running my app in Eclipse.

Post a Comment for "Android Activity Class Does Not Exists?"