title: Using android.jar in Java project - RuntimeException Stub?
body: <p>I tried to <strong>include android.jar</strong> into Java project, <strong>remove JRE from Build Path</strong> and run this code. It throws Runtime exception. Why?</p>
  
  <pre><code>Exception in thread "main" java.lang.RuntimeException: Stub!
      at android.content.ContentValues.&lt;init&gt;(ContentValues.java:5)
      at JarTest.main(JarTest.java:5)
  
  public class JarTest {
      public static void main(final String[] args) {
          final ContentValues values = new ContentValues();
          values.put("test", "test");
          System.out.println(values);
      }
  }
  </code></pre>
  
  <p>Why is ContentValues used only in Android environment?</p>