java.lang.UnsatisfiedLinkError:无法从loader

时间:2015-07-22 10:12:33

标签: java javafx javafx-2 javafx-8 javafxports

我试图使用SQLite数据库在Android上运行的JavaFX中存储数据但不知何故我似乎无法使其工作!我坚持这个错误:

Caused by: java.lang.UnsatisfiedLinkError: Couldn't load sqlitejdbc from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.rameses-1.apk,libraryPath=/data/app-lib/com.rameses-1]: findLibrary returned null
   at java.lang.Runtime.loadLibrary(Runtime.java:358)
   at java.lang.System.loadLibrary(System.java:526)
   at org.sqlite.core.NativeDB.<clinit>(NativeDB.java:35)
   at org.sqlite.core.CoreConnection.open(CoreConnection.java:180)
   at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:74)
   at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:24)
   at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:23)
   at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45)
   at org.sqlite.JDBC.createConnection(JDBC.java:114)
   at org.sqlite.JDBC.connect(JDBC.java:88)
   at java.sql.DriverManager.getConnection(DriverManager.java:179)
   at java.sql.DriverManager.getConnection(DriverManager.java:144)
   at com.rameses.waterworks.database.Database.getConnection(Database.java:34)
   at com.rameses.waterworks.database.Database.initTables(Database.java:44)
   at com.rameses.Main.start(Main.java:33)
   at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$144(LauncherImpl.java:863)
   at com.sun.javafx.application.LauncherImpl$$Lambda$9.run(Unknown Source)
   at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$157(PlatformImpl.java:326)
   at com.sun.javafx.application.PlatformImpl$$Lambda$7.run(Unknown Source)
   at com.sun.javafx.application.PlatformImpl.lambda$null$155(PlatformImpl.java:295)
   at com.sun.javafx.application.PlatformImpl$$Lambda$19.run(Unknown Source)
   at java.security.AccessController.doPrivileged(AccessController.java:52)
   at com.sun.javafx.application.PlatformImpl.lambda$runLater$156(PlatformImpl.java:294)
   at com.sun.javafx.application.PlatformImpl$$Lambda$6.run(Unknown Source)
   at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
   at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)

有人可以告诉我这个错误是什么吗?我该如何解决这个问题?请帮忙!

0 个答案:

没有答案