Using MobiVM fork and Libgdx, sqlite issues

123 views
Skip to first unread message

Graham Watson

unread,
Nov 15, 2017, 5:05:18 PM11/15/17
to RoboVM
Hi all,

I have almost got my libgdx app ported to iOS using RoboVM, however I can't seem to figure out some issues with sqlite. I am using the gdx-sqlite extension here: https://github.com/B4dT0bi/gdx-sqlite

For RoboVM, this appears to use the JDBC drivers to manage the sqlite db.

My error is this;

Unable to load sqlite_jni: java.lang.UnsatisfiedLinkError: Couldn't load sqlite_jni from loader...
java.sql.SQLException: SQLite.Exception: no such table: 3000
at SQLite.JDBC2z.JDBCStatement.executeQuery(JDBCStatement.java:141)

From the looks if it, it is querying and getting a response from the db somehow, since 'no such table: 3000' would be a response from the db. To me it seems my open/create statements would just be wrong, but my DB is fully working on Android so I don't think this is the case.

Any help would be greatly appreciated.

libgdx: 1.9.7
robovm (mobivm): 2.3.3

running on iOS Simulator, latest Xcode on latest High Sierra

Regard,
Graham
Reply all
Reply to author
Forward
0 new messages