Could not find class 'org.codehaus.jackson.map.ObjectMapper'?

I use the jsonson json parser, I added "jackson-all-1.9.3.jar" when I declare

ObjectMapper objectMapper = null;

The compiler recognizes this, but when I run my application on the emulator, I get this error.

04-16 16:27:13.037: I/System.out(435): waiting for debugger to settle...
04-16 16:27:13.245: I/System.out(435): debugger has settled (1417)
04-16 16:27:13.734: E/dalvikvm(435): Could not find class 'org.codehaus.jackson.map.ObjectMapper', referenced from method com.test.weather.GetweatherInfo.<init>
04-16 16:27:13.734: W/dalvikvm(435): VFY: unable to resolve new-instance 45 (Lorg/codehaus/jackson/map/ObjectMapper;) in Lcom/test/weather/GetweatherInfo

What should I do to fix this.

+3
source share
1 answer

You need to change the folder name from libto libsas you upgrade ADT 17.

Check out this article for more information on this topic.

+4
source

All Articles