Hi, I'm trying to write a simple web service client app for Android, and I'd like to use commons-digester to convert the service's XML responses into objects I can work with. However, I'm getting a VerifyError as soon as I try to invoke any Digester method.
I've set up my dependencies (external jars) using Maven (the Masa Android plugin for Maven, and the Maven Plugin for Eclipse). The Masa plugin seems a little bit bleeding edge, so that may somehow be the source of the problem, but I can't be sure. How can I debug this issue further, and what, if anything, can I do to resolve it? Is it not possible to use a library as simple as Digester on the Android platform? I'd appreciate any advice or suggestions on working through this issue. Thanks. Here is my complete error output: 03-16 04:47:44.411: WARN/dalvikvm(628): VFY: unable to resolve virtual method 140: Lorg/apache/commons/digester/Digester;.setValidating (Z)V 03-16 04:47:44.421: WARN/dalvikvm(628): VFY: rejecting opcode 0x6e at 0x000e 03-16 04:47:44.421: WARN/dalvikvm(628): VFY: rejected Lcom/ playfoursquare/android/CheckinsApi;.<init> (Ljava/lang/String;)V 03-16 04:47:44.421: WARN/dalvikvm(628): Verifier rejected class Lcom/ playfoursquare/android/CheckinsApi; 03-16 04:47:44.431: DEBUG/AndroidRuntime(628): Shutting down VM 03-16 04:47:44.431: WARN/dalvikvm(628): threadid=3: thread exiting with uncaught exception (group=0x40010e28) 03-16 04:47:44.431: ERROR/AndroidRuntime(628): Uncaught handler: thread main exiting due to uncaught exception 03-16 04:47:44.451: ERROR/AndroidRuntime(628): java.lang.VerifyError: com.playfoursquare.android.CheckinsApi 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at com.playfoursquare.android.FourSquare.onCreate(FourSquare.java:33) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1122) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2103) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2156) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1580) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at android.os.Handler.dispatchMessage(Handler.java:88) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at android.os.Looper.loop(Looper.java:123) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at android.app.ActivityThread.main(ActivityThread.java:3742) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at java.lang.reflect.Method.invokeNative(Native Method) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at java.lang.reflect.Method.invoke(Method.java:515) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:739) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) 03-16 04:47:44.451: ERROR/AndroidRuntime(628): at dalvik.system.NativeStart.main(Native Method) -micah --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---