Search code examples
androidandroid-fragmentsactionbarsherlockandroid-manifest

SherlockFragmentActivity causing ClassNotFoundException


I'm having a class that extends SherlockFragmentActivity

When trying to run the program am getting ClassNotFoundException

I've tried this solution but to no avail.

I would also like to mention that I'm setting this class as my launcher activity in the manifest. Also when I change the SherlockFragmentAcivity to SherlockActivity I'm able to run the program but can't use fragments anymore as there's no getSupportFragmentManager() method in SherlockActivity class.


Solution

  • I found the solution. Deleting the support library from libs folder did the trick for me.