title: java.lang.NoSuchMethodError: java.lang.System.arraycopy using XmlPullParser with Robolectric
body: <p>I am trying to test my Android app in Android-Studio with Robolectric. One of my unit tests makes use of <code>XmlPullParser</code>:</p>
  
  <pre><code>InputStream in = new FileInputStream(new File("somefile.xml"));
  XmlPullParser parser = Xml.newPullParser();
  parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, false);
  parser.setInput(in, null);
  parser.nextTag();
  while(parser.next()!=XmlPullParser.END_DOCUMENT){
      // ...
  }
  </code></pre>
  
  <p>Here is what happens when I run the test:</p>
  
  <pre><code>java.lang.NoSuchMethodError: java.lang.System.arraycopy([II[III)V
      at org.kxml2.io.KXmlParser.parseStartTag(KXmlParser.java:1145)
      at org.kxml2.io.KXmlParser.next(KXmlParser.java:372)
      at org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
      at xxx.Xxxx.readTag(Xxxx.java:167)
  </code></pre>
  
  <p>Is it a problem with the implementation of the parser on Robolectric side?</p>