Thursday, 12 September 2013

NoClassDefFoundError, jar is present

NoClassDefFoundError, jar is present

I am attempting to use the com.integralblue.HttpResponseCache
compatibility library with my Android application. I have copied its jar
file together with its dependency, com.jakewharton.disklrucache, into the
"libs" folder of my project.
When running the program, any call on HttpResponseCache causes the program
to fail with a NoClassDefFoundError on com.jakewharton.disklrucache. Both
JARs are present in the libs folder and can be imported. Google search
turns up absolutely nothing.
How do I solve a NoClassDefFoundError when all required JARs are present?

No comments:

Post a Comment