title: OData4j for Android: ClassNotFoundException for XmlInputFactory
body: <p>This is the first time I'm attempting to learn Java so I thought i'd port my Windows Phone application over to Android to begin learning. I'm trying to use the OData4j 0.7 jar library to call my existing WCF Data Service (which works in my WP app / browser), but I'm getting the following error:</p>
  
  <pre><code>Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.xml.stream.XMLInputFactory" on path: DexPathList[[zip file "/data/app/myfirstapp.blazemonkey.com.myfirstapp-1.apk"],nativeLibraryDirectories=[/data/app-lib/
  07-26 13:02:41.452    3736-3736/myfirstapp.blazemonkey.com.myfirstapp E/ProviderFactory﹕ The provider class, class com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General, could not be instantiated. Processing will continue but the class will not be utilized
  java.lang.TypeNotPresentException: Type javax.xml.stream.XMLInputFactory not present
  ...
  </code></pre>
  
  <p>every time I run this code:</p>
  
  <pre><code>ODataConsumer consumer = ODataJerseyConsumer.create(serviceUrl);
  </code></pre>
  
  <p>I've been pulling my hair out for a long time so hopefully someone can point me to the right direction! I have already added the users-permission tag:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET"/&gt;
  </code></pre>
  
  <p>so that shouldn't be the problem either.</p>
  
  <p>Thanks a lot in advance!!</p>