Skip to content Skip to sidebar Skip to footer

Phonegap Sqlite Plugin Error

I have added brodysoft sqlite plugin in my phonegap project. when i try to run this project, i get following error:- [2015-07-16 13:36:24 - HelloWorld] The library 'sqlite-native-d

Solution 1:

I've got in contact with the author of sqlitePlugin (https://github.com/litehelpers/Cordova-sqlite-storage) and he told me "unzip sqlite-native-driver.jar and copy the subdirectories from lib to your project's libs directory."

So, I downloaded the zip file from that site (the link is at the top right), then extracted the two files in the folder (src/android/libs) and placed them in the project's libs directory. Then, I refreshed the project.

As the error kept going, he told me to "Make sure you removed sqlite-native-driver.jar". I deleted that file from the libs directory, refreshed the project, and... the error dissapeared.

All the credits to the author of litehelpers/Cordova-sqlite-storage. Thanks to him.

Post a Comment for "Phonegap Sqlite Plugin Error"