Java.lang.noclassdeffounderror When Use My Own Library
I have problems when I add my own library to my project . I have use Twitter and Facebook library and its work fine . When I try to use my own lib . Its getting error I have try ma
Solution 1:
You have to set the Java compiler compliance level to Java 1.6. Android tooling cannot cope with Java 7 class files and thus doesn't dex your file.
Go to Properties -> Java Compiler -> JDK-Compliance
Switch here to 1.6
Solution 2:
please just renamed lib to libs and updated the references on the java build path.
project right click properties-> Java BuildPath select Library and add external .jar the follow these step.
Go to Project->Properties->Java Build Path than select Order and export tab. Set external .jar library checked and up it into top of the list. And clean and rebuild..It works for most of the cases
Post a Comment for "Java.lang.noclassdeffounderror When Use My Own Library"