skywalkerdude
skywalkerdude

Reputation: 127

Can't run EndlessAdapterDemo App

I'm trying to look at the EndlessAdapter demo (https://github.com/commonsguy/cwac-endless), but I keep getting a NoClassDefFoundError for the class com.commonsware.cwac.endless.demo.DemoAdapter. But, the class is clearly there! I didn't change any code at all, other than use the "Fix project setup" option on Eclipse.

I've looked everywhere and I can't find how to get rid of this error!

Here's a screenshot: http://grab.by/ikO6

If someone could give me a step-by-step solution to solve this, I'd appreciate it so much!!!

Upvotes: 0

Views: 212

Answers (2)

CommonsWare
CommonsWare

Reputation: 1006859

Ensure that you have the main project declared as an Android library project, and that the demo/ sub-project has a reference to that Android library project.

Upvotes: 0

User
User

Reputation: 1271

Once check your android version with compatible adt plugin

Upvotes: 1

Related Questions