How To: Fix ClassNotFoundException on Android Eclipse

Problem: class not found exception

  • ClassNotFoundException

 

 

Solution

  • Add support library v4 and v7 to libs folder
  • Right click on libraries and “add to build path”
  • Make sure they are checked in the build path order and Export window

Sources: 

  • http://stackoverflow.com/questions/17851515/the-hierarchy-of-the-type-activity-is-inconsistent-when-extending-actionbaractiv
  • http://stackoverflow.com/questions/10866431/android-activity-classnotfoundexception-tried-everything