Page 2 of 3

Problem with SQLite databases on android

Posted: Thu Feb 27, 2014 11:42 pm
by Tiago Ramos

I don't know exactly what it is, but the fact is that changing app settings (external libraries version and/or android sdk version) made it so that new .apks compiled after that would not work properly.


Problem with SQLite databases on android

Posted: Thu Feb 27, 2014 11:57 pm
by Tiago Ramos

Upon further testing, it seems that changing App Settings External resources Libraries version to 1.2 still causes the error "exec() call to unknown plugin: Storage" when trying to create an SQLite database. It works just fine on version 1.1.

This is very unfortunate since v1.1 uses PhoneGap 2.9.0, and I intended on using a PhoneGap plugin that requires PhoneGap version 3.0.0 or higher.

To reiterate: everything works fine with external libraries version 1.1, while version 1.2 throws the error "exec() call to unknown plugin: Storage" when trying to create an SQLite database.


Problem with SQLite databases on android

Posted: Fri Feb 28, 2014 12:09 am
by Igor
  1. Did you use 3rd party PhoneGap plug-in?
    1. Are you working with restored from backup project?
    2. Did you try "Undo all source changes"?

Problem with SQLite databases on android

Posted: Fri Feb 28, 2014 12:13 am
by Tiago Ramos
  1. I still haven't implemented any 3rd party PhoneGap plug-in, but I intended to do so eventually (this one specifically, which requires PhoneGap 3.x.x https://github.com/katzer/cordova-plu...)
    1. The error occurs both on the original project and the one restored from backup.
    2. "Undo all source changes" solved my problem with "[ERROR] Error initializing Cordova: Class not found." after reverting from external libs v1.2 to v1.1, but the other error still persists.

Problem with SQLite databases on android

Posted: Fri Feb 28, 2014 12:20 am
by Igor

Could you post original app public link? Also please tell us the steps how can we reproduce the error.


Problem with SQLite databases on android

Posted: Fri Feb 28, 2014 12:24 am
by Tiago Ramos

Ok, it seems like I was mistaken, the original app still throws an alert saying "[ERROR] Error initializing Cordova: Class not found.", but it works fine after that (with external libs v1.1 only).

Also, what exactly do you mean by the app's public link?


Problem with SQLite databases on android

Posted: Fri Feb 28, 2014 12:27 am
by Igor

Problem with SQLite databases on android

Posted: Fri Feb 28, 2014 12:37 am
by Tiago Ramos

Is there a way I can give you that link without posting it here where anyone can see it?


Problem with SQLite databases on android

Posted: Fri Feb 28, 2014 12:44 am
by Tiago Ramos

And is there even a point in giving you that link if the problem only happens in .apk builds of the app?


Problem with SQLite databases on android

Posted: Fri Feb 28, 2014 1:00 am
by Igor

You can share app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us the steps how to reproduce this.