Android - Adding external library to project

后端 未结 2 1987
礼貌的吻别
礼貌的吻别 2021-01-12 08:12

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

相关标签:
2条回答
  • 2021-01-12 08:22

    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.

    0 讨论(0)
  • 2021-01-12 08:25

    I just finished my first revision of https://github.com/rjmarsan/Weka-for-Android

    Hope it helps!

    0 讨论(0)
提交回复
热议问题