2

I am new in android, I am using jackson-all-1.9.4 jar in my application for android ADT 16. My application working fine. But after i take update for android ADT 17, it gives force close and shows error on logcat like this,

04-02 08:54:47.302: E/AndroidRuntime(234): java.lang.NoClassDefFoundError: org.codehaus.jackson.map.ObjectMapper

what is the problem here, android ADT 17 does not support jackson-all-1.9.4 jar?

any one can help me?

Lucifer
  • 29,392
  • 25
  • 90
  • 143
selva
  • 1,503
  • 3
  • 17
  • 24
  • 2
    http://stackoverflow.com/questions/9817372/updated-sdk-tools-and-adt-to-17-and-now-getting-verifyerrors see this link.. – 5hssba Apr 02 '12 at 04:16
  • http://stackoverflow.com/a/10046725/1289716 see this answer – MAC Apr 08 '12 at 09:04

1 Answers1

2

Had the exact same problem. Check this blog post: http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17

tl;dr: Rename your lib directory to libs and add Jackson to the project again.

aaronsnoswell
  • 6,051
  • 5
  • 47
  • 69