通过JavaFX和Gluons client-maven-plugin在Android上使用SQLite [英] SQLite on Android via JavaFX and Gluons client-maven-plugin

查看:75
本文介绍了通过JavaFX和Gluons client-maven-plugin在Android上使用SQLite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图获得一个使用SQLite的JavaFX应用程序,该应用程序通过Gluons client-maven-plugin在Android上运行,但是对于带有SQLite本机部分的库,我只会得到一个UnsatisfiedLinkError.这样的应用程序在Android上运行良好,甚至可以在任何桌面平台上与SQLite完美配合,因此我认为我的常规设置是可以的.在这种情况下,我想知道

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

  1. Android是否完全支持与JAR文件中包含的共享库的链接?
  2. 哪种架构最适合Android?

该应用程序将其自身报告为Linux/aarch64,但该组合的共享库(由"org.xerial:sqlite-jdbc:3.32.3.2"提供)不起作用.令人困惑的是,还有另外一个适用于Linux/android-arm的工具,它似乎也不起作用,但看起来更特定于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.

推荐答案

此问题已在GitHub上的Gluons问题跟踪器上得到了回答:

This question has been answered on Gluons issue tracker on GitHub:

https://github.com/gluonhq/substrate/issues/741#issuecomment-673435037

以防万一有人感兴趣.

这篇关于通过JavaFX和Gluons client-maven-plugin在Android上使用SQLite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆