Skip to content Skip to sidebar Skip to footer

Unable To Instantiate Activity Componentinfo

I am developing an application for Froyo as minimum version and Gingerbread as the target version. So, the manifest shows:

Solution 1:

I've fixed this problem easily by restoring the project properties:

  • Right-click on your project
  • Android tools
  • Fix project properties

Then your dependencies will be restored as new and everything will be ok!

Solution 2:

My solution was in Project --> Properties --> Java Build Path --> Order and Export, you should tick the entries you use. BUT also i experienced if you tick to Android.jar, it says "Conversion to Dalvik format failed with error 1"

Also removing all of your libraries except Android.x.x and then cleaning your project by Project --> Clean and then adding your libraries back (don't forget to tick in order and export) may solve the "Conversion to Dalvik format failed with error 1" thing.

And one more place you need to check is Properties --> Java Compiler --> JDK Compliance.

Solution 3:

For me, as it was during an upgrade of phonegap (from 1.4 to 1.8.1 ). I had to update the .project file on root project. I create a new project and compare the new file with the former.

Solution 4:

You can fix this error by correcting the class name of your activity in your manifest file

Solution 5:

I solved my issue by checking the Android Private Libraries and Android dependencies under the Order and Export in the Java Build path

Post a Comment for "Unable To Instantiate Activity Componentinfo"