Re: [Simple-support] javax dependency problem for Android
Brought to you by:
niallg
|
From: Bryan B. <bb...@lu...> - 2012-07-30 14:21:27
|
Oops - sorry, forgot to mention that I have set the strict argument to false while deserializing. From: Bryan Barnes Sent: Monday, July 30, 2012 10:06 AM To: 'sim...@li...' Subject: javax dependency problem for Android While deserializing objects I noticed this output in LogCat: 07-30 09:38:45.183: I/dalvikvm(22970): Could not find method javax.xml.stream.XMLInputFactory.newInstance, referenced from method org.simpleframework.xml.stream.StreamProvider.<init> 07-30 09:38:45.183: W/dalvikvm(22970): VFY: unable to resolve static method 7583: Ljavax/xml/stream/XMLInputFactory;.newInstance ()Ljavax/xml/stream/XMLInputFactory; 07-30 09:38:45.183: D/dalvikvm(22970): VFY: replacing opcode 0x71 at 0x0003 07-30 09:38:45.183: W/dalvikvm(22970): VFY: unable to find class referenced in signature (Ljavax/xml/stream/XMLEventReader;) ...and soon after: 07-30 09:39:01.243: W/System.err(22970): org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Element(data=false, name=, required=true, type=void) on field ....... for class ....... at line 1 I just introduced this library recently and am guessing I need one of the jar files from the lib folder distributed with Simple. Which one? Thanks a lot, Bryan |