Android Unable to instantiate activity: Didn’t find class on path

I suppose you’re using Eclipse. Your activity is there alright, but Eclipse didn’t include the support package in the APK … If you look above your error in stacktrace you will notice the root of your problem: “Unable to find FragmentActivity“. Or you can unpack the apk, undex it and you will see the compatibility package classes were not included.

To fix this, right-click your project, properties, build path and go to export tab. There make sure “Android private libraries” are checked. A clean and rebuild should put you on track …

Leave a Comment