I'm using the SQLite plugin found here: http://ift.tt/1O3yCJy
I used an old version of this plugin that became deprecated so I updated to this new version. As far as I can tell, the documentation and functions are still the same. Unfortunately it is not pulling data from my database which I assume it is not finding the tables in my .db.
02-13 18:50:36.719 8759-8759/cafr.appfinder I/chromium: [INFO:CONSOLE(175)] "OPEN database: appfinder.db", source: file:///android_asset/www/plugins/cordova-sqlite-storage/www/SQLitePlugin.js (175)
02-13 18:50:36.719 8759-8759/cafr.appfinder I/chromium: [INFO:CONSOLE(106)] "new transaction is waiting for open operation", source: file:///android_asset/www/plugins/cordova-sqlite-storage/www/SQLitePlugin.js (106)
02-13 18:50:36.999 8759-9216/cafr.appfinder E/SQLiteLog: (1) no such table: Main Database
02-13 18:50:36.999 8759-9216/cafr.appfinder W/System.err: android.database.sqlite.SQLiteException: no such table: Main Database (code 1): , while compiling: SELECT DISTINCT Category FROM 'Main Database' ORDER BY id
Anyone with experience in this SQLite plugin can troubleshoot why my .db that is in the same www directory is not getting picked up?
Aucun commentaire:
Enregistrer un commentaire