• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Using OWL API in Android

Kevin999

Lurker
Hello everyone.
I'm trying to import OWL API in an Android Project.
I added the jar file to the 'libs' folder and made sure it's included in the build.gradle.
Unfortunately, the project fails as soon as it comes to use the owl api classes and methods.
It seems that owl api works smoothly in java project but, with Android, source codes must be recompiled in order to work properly. So, how could I do that?
Thanks in advance.
 
It's not just a question of recompiling. It's also a matter of dependencies. Any library used in an Android app project should be designed to work in that environment.
Another example is JDBC (the Java library for connecting to databases). People try to use this in their Android project, and run into difficulties. It's not been designed to work with Android.
What does the OWL API do? You may be better off approaching the developers to ask if they have, or will produce a version which has been developed and tested on Android.
The bottom line is that any library you import, which isn't handled by Gradle, is likely to create difficulties for you. Gradle is specifically designed to manage dependencies, and ensure that everything needed by the library, is installed. Not just that, it manages the required versions of other dependent libraries.
 
Back
Top Bottom