3

I have an Android application, which is working fine. The application have two Java libraries. I installed the newest versions of Eclipse and the Android SDK package on another computer, and I imported in it the same application from the server, but when I run it, the program can't find the java libraries. I tried to remove them from "Build Path Property" and I added them again, but it still gives me this error:

  java.lang.NoClassDefFoundError: org.apache.commons.lang3.ArrayUtils

Do you have any idea how to resolve that?

Thanks in advance.

3
  • do you have commons-lang3-<version>.jar among you libraries? if not this would be a problem. you could get it from a maven repo as: <dependency org="org.apache.commons" name="commons-lang3" rev="3.1" /> Commented May 1, 2012 at 20:43
  • yes i have this commons-lang3-3.1.jar in my libraries , but ithe program didn't find it Commented May 1, 2012 at 20:45
  • can you manually add it to the Eclipse build path, and see if that fixes it? If yes, then go back and reconfigure you build path to include all the jars from "lib"/or your own 3d party dir. Commented May 1, 2012 at 21:03

1 Answer 1

4

I had the same problem with some other 3rd party library and this solution has helped me

http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17

Sign up to request clarification or add additional context in comments.

1 Comment

thanks, looks interesting, i will follow these instruction and hope to fix it !

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.