title: How to add a jar file in my library project?
body: <p>Im my app I want to use this NumberPicker:</p>
  
  <p><a href="https://github.com/SimonVT/android-numberpicker" rel="nofollow">https://github.com/SimonVT/android-numberpicker</a></p>
  
  <p>I've copied the .jar file from this project, build the path in Eclipse, and imported it at my MainActivity class.</p>
  
  <p>My xml file has the following code:</p>
  
  <pre><code>&lt;net.simonvt.widget.NumberPicker
      android:id="@+id/numberPicker"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" /&gt;
  </code></pre>
  
  <p>But I am getting this error at LogCat:</p>
  
  <pre><code>11-21 15:12:41.486: E/AndroidRuntime(6315): java.lang.RuntimeException: Unable to start activity ComponentInfo{xxxxxxxx.MainActivity}: android.view.InflateException: Binary XML file line #138: Error inflating class net.simonvt.widget.NumberPicker
  11-21 15:12:41.486: E/AndroidRuntime(6315): Caused by: android.view.InflateException: Binary XML file line #138: Error inflating class net.simonvt.widget.NumberPicker
  11-21 15:12:41.486: E/AndroidRuntime(6315):     at net.simonvt.widget.NumberPicker.&lt;init&gt;(NumberPicker.java:532)
  </code></pre>
  
  <p>What is happening? </p>
  
  <p>Thank you!</p>