( posting this solution in the hope that it will help others in the same situation )
I spent the most of yesterday trying to get SqlCipher integrated into an existing project.
It would fail on LoadLibrary when trying to load the libsqlcipher_android.so file. It would apparently load the libstlport_android.so fine.
The demo projects worked fine on my setup-
When trying on an actual x86 device ( Motorola iRazr something ) , our app it would work. But it would fail on the ARM devices I tried.
And here is why :
The project we work on has other native libs, some which both have ARM and ARM-V7A .so files. It seems that when running on an ARM7A device and there are V7A .so files, it can not reliably find the non-V7a .so files from SqlCipher.
The solution :
make a directory called "armeabi-v7a" on the same level as the "armeabi" directory. Copy the sqlcipher .so files from "armeabi" to "armeabi-V7A" - then it works.
Best regards,
Peter