I'm integrating ormlite-4.9 with sqlcipher-2.08. I've googled around but, I didn't succeed. I also saw Mr. Gray's answer(How can I use ORMLite with SQLCipher together in Android?) about integration. I tried by his answer. However, I guess it was for older versions of ORMLite and SQLCipher which has different packages than mine which is downloaded from http://sqlcipher.net/sqlcipher-for-android.
Can someone explain me a bit in detail?
I just add the same problem than you. The problem is that you have to change the ormlite-android.jar
code to make it work with the SQLCipher
lib. So what you have to do is :
SQLCipher
latest version from here or directly from the website ormlite-core
code for 4.46 (you can try higher but i don't guarante that it is going to work), you can do it here.And it should work :) Let me know i you have any problem with that !
I know this is quite old thread. But I had to go the same way recently. I've read two threads in search for solution: this and this.
And now I have solution that works (you can clone working demo from GitHub). Placing my answer into both threads to help others in the future.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With