Crosswalk and SQLite plugin throw an error on some devices

Hello,
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(SQLitePlugin.java:315)
E/AndroidRuntime(12765): at org.pgsqlite.SQLitePlugin.access$300(SQLitePlugin.java:36)
E/AndroidRuntime(12765): at org.pgsqlite.SQLitePlugin$DBRunner.run(SQLitePlugin.java:810)
E/AndroidRuntime(12765): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime(12765): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime(12765): at java.lang.Thread.run(Thread.java:856)

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?

Hello,
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.