Hi Sherban, Sorry I read your email too quickly. It seems that Android doesn't ship with the javax.xml.stream package: http://developer.android.com/reference/javax/xml/xpath/package-summary.html
Here's something I found with help to include missing javax libraries: http://code.google.com/p/dalvik/wiki/JavaxPackages Hope that helps! Cheers, Dave On Tue, Mar 5, 2013 at 4:51 PM, DJDaveMark <[email protected]> wrote: Hi, sounds like you're missing the stax-version.jar from. >Check the libs folder from the binary distribution download. >Cheers, >Dave > > > > >________________________________ > From: Sherban Popescu <[email protected]>; >To: <[email protected]>; >Subject: [xstream-dev] xstream with android (latest ADT eclipse plugin) >Sent: Tue, Mar 5, 2013 8:46:08 PM > > >Hi, > >I am trying to use xstream in an Android project; have included >xstream-1.4.2.jar. > >When I invoke >XStream xstream = new XStream(new StaxDriver()); >get the error in the dalvikvm: >could not find method javax.xml.stream.XMLInputFactory.newInstance, referenced >from com.thoughtworks.xstream.io.xml.StaxDriver.createOutputFactory > > >Thanks in advance, >Dan >
