1

I'm trying to work with odatav2 on ANDROID.

I compile my android application with gradle:

compile files('src/lib/odata4j-0.7.0-clientbundle.jar')

But at runtime I got:

java.lang.TypeNotPresentException: Type javax.xml.stream.XMLInputFactory not present

Can't find how to resolve this for a long time. Please write here how to fix this without links for old deleted/unreadable pages/examples.

(similar problem with olingo odatav2: XMLInputFactory exception)

kwoxer
  • 3,734
  • 4
  • 40
  • 70
tbw
  • 71
  • 7
  • Possible duplicate of [OData4j for Android: ClassNotFoundException for XmlInputFactory](http://stackoverflow.com/questions/24973616/odata4j-for-android-classnotfoundexception-for-xmlinputfactory) – meJustAndrew Jul 06 '16 at 16:50
  • You may want to try the answer linked by meJustAndrew or reword your question if it's nothing like that question instead. – Paul Williams Jul 06 '16 at 17:09
  • Where is no answer. I already see this before posting this question. – tbw Jul 07 '16 at 09:02
  • i got odatav2 lib for android by writing directly to apache olingo – tbw Aug 01 '16 at 16:07

0 Answers0