Crosswalk and SQLite plugin throw an error on some devices

i have update my project with Crosswalk . On some old Android 4.0.4 and 4.3 devices i have this error related to SQLite plugin:

E/AndroidRuntime(12765): FATAL EXCEPTION: pool-1-thread-1
E/AndroidRuntime(12765): java.lang.NoSuchMethodError: android.database.sqlite.SQLiteDatabase.deleteDatabase
E/AndroidRuntime(12765): at org.pgsqlite.SQLitePlugin.deleteDatabaseNow(
E/AndroidRuntime(12765): at org.pgsqlite.SQLitePlugin.access$300(
E/AndroidRuntime(12765): at org.pgsqlite.SQLitePlugin$
E/AndroidRuntime(12765): at java.util.concurrent.ThreadPoolExecutor.runWorker(
E/AndroidRuntime(12765): at java.util.concurrent.ThreadPoolExecutor$
E/AndroidRuntime(12765): at

On 4.4 and 5 Android device i don’t have any error.

Anyone have any ideas?

Hmm, interesting.
So in order to work with crosswalk, we’re using an updated version of cordova-android, 4.0, which isn’t released yet.
So this could be a case where the plugin need to be updated to use 4.0 by the plugin maintainer.
This shouldn’t be an issue when cordova-android 4.0 comes out officially

Thank you very much for your response!

In the meantime I worked around the problem !

Could you please post the workaround?

I had initially removed the call to “delete” function of the plugin and replace them with a customized management through the plugin “file”.

Subsequently, because of the many problems with other plugins, I removed crosswalk, waiting for more stable versions.