title: Can t use Java library in android application
body: <p>I use the JSOUP library for parsing html in an android application. I have created a lib folder in which I put the .jar file and then I added to Buildpath as explained in this <a href="http://www.vogella.com/blog/2010/02/11/java-library-jar-android/" rel="nofollow">Tutorial</a> . When I write code that includes objects and methods from the imported library I get no complaints in Eclipse, but when I run it I get this error.</p>
  
  <pre><code>11-25 01:05:16.108: E/AndroidRuntime(785): FATAL EXCEPTION: main
  11-25 01:05:16.108: E/AndroidRuntime(785): java.lang.NoClassDefFoundError: org.jsoup.Jsoup
  11-25 01:05:16.108: E/AndroidRuntime(785):  at com.example.seminarska.Prevozi.onCreate(Prevozi.java:76)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.app.Activity.performCreate(Activity.java:5008)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.app.ActivityThread.access$600(ActivityThread.java:130)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.os.Handler.dispatchMessage(Handler.java:99)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.os.Looper.loop(Looper.java:137)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at android.app.ActivityThread.main(ActivityThread.java:4745)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at java.lang.reflect.Method.invokeNative(Native Method)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at java.lang.reflect.Method.invoke(Method.java:511)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
  11-25 01:05:16.108: E/AndroidRuntime(785):  at dalvik.system.NativeStart.main(Native Method)
  </code></pre>