AnsweredAssumed Answered

Error: java.lang.NoClassDefFoundError - Jackson

Question asked by pedrokra on May 23, 2017
Latest reply on May 31, 2017 by pedrokra

When I run my app with 

com.esri.arcgis.android:arcgis-android:10.2.9

and

mapView.addLayer(new ArcGISDynamicMapServiceLayer("http://geoservidor.minam.gob.pe/arcgis/rest/services/MAPA_FINAL_ACT_MINERA/MapServer"));

I got

 

Rejecting re-init on previously-failed class java.lang.Class<com.esri.core.internal.util.d>: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/codehaus/jackson/map/ObjectMapper;

[...]

Caused by: java.lang.ClassNotFoundException: Didn't find class "org.codehaus.jackson.map.ObjectMapper" on path: DexPathList[[zip file "/data/app/demo.spda.com.demo-1/base.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_dependencies_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_0_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_1_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_2_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_3_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_4_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_5_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_6_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_7_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_8_apk.apk", zip file "/data/app/demo.spda.com.demo-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/demo.spda.com.demo-1/lib/x86, /system/fake-lib

 

Is it a problem with this ArcGIS version? I tried create other project and the problem coninues. But, if I downgrade the library version to 10.2.7, it works!

Attachments

Outcomes