Error when tring to implement SQlcipher in android

110 Views Asked by At

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.sqlcipher_demo-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libsqlcipher_android.so"

I am getting this error. i added all the jar files in libs folder n able to see .so files in all the folders. those jar files are also added in build.gradle file.

source : https://www.zetetic.net/sqlcipher/sqlcipher-for-android/

1

There are 1 best solutions below

0
On BEST ANSWER

Finally I got the answer for this....

If you maintain your project structure as mentioned below it will work

Image

For further steps I followed

https://androidbycode.wordpress.com/2015/02/18/android-database-encryption-using-sqlcipher/

and now its working fine.