Reputation: 3229
I'm creating an app in Eclipse and now I want to Use appcompat library in my project. I have imported the library successfully and it is working fine when I extends some Activity with AppCompatActivity. The Problem is, when I run the app and My Application Launch that Activity which is extended by AppCompActivty. App crashes. Log Cat is showing NoClassDefFoundError: Please Guide me in the Right way. Thanks
Upvotes: 0
Views: 857
Reputation: 75788
NoClassDefFoundError
occurs when the source was successfully compiled, but at runtime
, the required class files were not found. This may be something that can happen in the distribution or production of JAR files.
My Advise : CLEAN AND REBUILD Your Project .If not works Use Android Studio instead of Eclipse .
Android actionbar how to add supporting library v7 appcompat for Eclipse
Upvotes: 1