当前位置: 代码迷 >> Android >> arcgis for android sdk helloworld 示范运行出错
  详细解决方案

arcgis for android sdk helloworld 示范运行出错

热度:65   发布时间:2016-05-01 12:33:08.0
arcgis for android sdk helloworld 示例运行出错?
本帖最后由 iwait 于 2012-04-16 15:24:44 编辑 前两天还好好的,上周末更新了Android SDK 到 R17 后,貌似就出问题了,开始我以为我的代码有问题,后来发现,直接创建一个arcgis 的sample 工程也出现同样错误,下面是LOG


04-16 14:56:33.104: D/dalvikvm(9369): Late-enabling CheckJNI
04-16 14:56:33.134: I/dalvikvm(9369): Turning on JNI app bug workarounds for target SDK version 7...
04-16 14:56:33.234: D/ArcGIS.LifeCycle(9369): map.onChildViewAdded
04-16 14:56:33.244: D/ArcGIS.LifeCycle(9369): map.initLayer
04-16 14:56:33.244: D/ArcGIS.LifeCycle(9369): >>>layer init startcom.esri.android.map.ags.ArcGISTiledMapServiceLayer
04-16 14:56:33.244: D/ArcGIS.LifeCycle(9369): layer init...
04-16 14:56:33.244: W/dalvikvm(9369): VFY: unable to find class referenced in signature (Lorg/codehaus/jackson/JsonNode;)
04-16 14:56:33.244: I/dalvikvm(9369): Could not find method org.codehaus.jackson.JsonNode.get, referenced from method com.esri.android.a.e.a
04-16 14:56:33.244: W/dalvikvm(9369): VFY: unable to resolve virtual method 4781: Lorg/codehaus/jackson/JsonNode;.get (Ljava/lang/String;)Lorg/codehaus/jackson/JsonNode;
04-16 14:56:33.244: D/dalvikvm(9369): VFY: replacing opcode 0x6e at 0x0005
04-16 14:56:33.244: I/dalvikvm(9369): Could not find method org.codehaus.jackson.JsonNode.getTextValue, referenced from method com.esri.android.a.e.a
04-16 14:56:33.244: W/dalvikvm(9369): VFY: unable to resolve virtual method 4784: Lorg/codehaus/jackson/JsonNode;.getTextValue ()Ljava/lang/String;
04-16 14:56:33.244: D/dalvikvm(9369): VFY: replacing opcode 0x6e at 0x000b
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369): afterPerformResume
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369): java.lang.NullPointerException
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.app.HtcAppUsageStatsListener.afterPerformResume(HtcAppUsageStatsListener.java:77)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2800)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2851)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2234)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.app.ActivityThread.access$600(ActivityThread.java:139)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1261)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.os.Handler.dispatchMessage(Handler.java:99)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.os.Looper.loop(Looper.java:154)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at android.app.ActivityThread.main(ActivityThread.java:4944)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at java.lang.reflect.Method.invokeNative(Native Method)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at java.lang.reflect.Method.invoke(Method.java:511)
04-16 14:56:33.244: E/HtcAppUsageStatsListener(9369):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
  相关解决方案