Hey, the weird here i looked into java beans and there is a decapitalize method.. But how can i modify the betwixt code (if i download the source, i can change it, but how can i make a jar file to import it in eclipse?)?
these are my logs now: 07-17 21:17:17.324: ERROR/dalvikvm(28984): Could not find method java.beans.Introspector.decapitalize, referenced from method org.apache.commons.betwixt.XMLIntrospector.setIteratorAdder 07-17 21:17:17.324: WARN/dalvikvm(28984): VFY: unable to resolve static method 2512: Ljava/beans/Introspector;.decapitalize (Ljava/lang/ String;)Ljava/lang/String; 07-17 21:17:17.324: WARN/dalvikvm(28984): VFY: rejecting opcode 0x71 at 0x000c 07-17 21:17:17.334: WARN/dalvikvm(28984): VFY: rejected Lorg/apache/ commons/betwixt/XMLIntrospector;.setIteratorAdder (Ljava/util/ Map;Ljava/lang/reflect/Method;)V 07-17 21:17:17.334: WARN/dalvikvm(28984): Verifier rejected class Lorg/ apache/commons/betwixt/XMLIntrospector; 07-17 21:17:17.334: DEBUG/AndroidRuntime(28984): Shutting down VM 07-17 21:17:17.344: WARN/dalvikvm(28984): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) What is the best way to parse an xml file an map it to objects? Wouter On Jul 17, 9:10 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Wouter wrote: > > Hey, > > > I solved this problem by using an older version 1.81 where this method > > wasnt included! > > But now i have another problem.. > > > 07-17 21:02:26.854: ERROR/dalvikvm(28518): Could not find method > > java.beans.Introspector.decapitalize, referenced from method > > org.apache.commons.betwixt.XMLIntrospector.setIteratorAdder > > > How can i fix this? :s > > The same options as before: > > Option #1: Commit to modifying their source code to be Android-compatible. > > Option #2: Don't use their code, or find yet another version and try it. > > Not all third-party JARs will work with Android without modification. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 1.0 In Print! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---