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 Develo
WEKA is not going to work on Android without changes. J48
, for example, requires the java.lang.Cloneable
interface, which is not available in Android.
What you need to do is check out the WEKA source code from Subversion, add it to your project (removing the JAR file), compile it, and fix all the compile errors. There may be quite a few of these.
I just finished my first revision of https://github.com/rjmarsan/Weka-for-Android
Hope it helps!