Tiago Ramos
Posts: 0
Joined: Thu Feb 27, 2014 3:00 pm

Problem with SQLite databases on android

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.

Tiago Ramos
Posts: 0
Joined: Thu Feb 27, 2014 3:00 pm

Problem with SQLite databases on android

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.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Problem with SQLite databases on android

  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"?
Tiago Ramos
Posts: 0
Joined: Thu Feb 27, 2014 3:00 pm

Problem with SQLite databases on android

  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.
Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Problem with SQLite databases on android

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

Tiago Ramos
Posts: 0
Joined: Thu Feb 27, 2014 3:00 pm

Problem with SQLite databases on android

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?

Tiago Ramos
Posts: 0
Joined: Thu Feb 27, 2014 3:00 pm

Problem with SQLite databases on android

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

Tiago Ramos
Posts: 0
Joined: Thu Feb 27, 2014 3:00 pm

Problem with SQLite databases on android

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

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Problem with SQLite databases on android

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.

Return to “Issues”