Issue
I am trying to get a JavaFX application, which uses SQLite, running on Android via Gluons client-maven-plugin but for the library with the native part of SQLite I only get an UnsatisfiedLinkError. The app as such runs fine on Android and even works perfectly with SQLite on any desktop platform, so I think my general setup is ok. In this context I wonder whether
- linking with shared libraries contained in a JAR file is supported at all for Android?
- which architecture is the right one for Android?
The app reports itself as Linux/aarch64 but the shared library for that combination, provided by "org.xerial:sqlite-jdbc:3.32.3.2", does not work. What is confusing is that there is another one for Linux/android-arm which also does not seem to work but looks more specific to Android. So which is the right one.
Solution
This question has been answered on Gluons issue tracker on GitHub:
https://github.com/gluonhq/substrate/issues/741#issuecomment-673435037
Just in case someone is interested.
Answered By - mipa