title: Android - Adding external library to project
body: <p>I am having a lot of trouble adding the WEKA library to a project I am working on. I have followed several tutorials that explain how to do this including the Android Developers guide: </p>
  
  <p><a href="http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary" rel="noreferrer">http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary</a></p>
  
  <p>and several of the postings on SO.</p>
  
  <p>I have created a folder in my project with the weka.jar file, created a new library (adding the weka.jar file to the library) and included this library in my build path. I have also added the library under the "Order and Export" tab in the project properties.</p>
  
  <p>I have also tried importing the jar file so that the actual contents of the jar are extracted into a directory in my project.</p>
  
  <p>The end result of all of this is that my project is able to build correctly and without error, but when it comes time to run my code on the emulator I get the following exception:</p>
  
  <p>04-10 22:52:21.051: ERROR/dalvikvm(582): Could not find class 'weka.classifiers.trees.J48', referenced from method edu.usc.student.composure.classifier.GaitClassifierImpl.</p>
  
  <p>with J48 being the class I reference in my code.</p>
  
  <p>Does anyone have any additional suggestions that I may have overlooked?</p>
  
  <p>Thanks!</p>