I am trying to encrypt my database using SQLcipher. In my app there are three separate modules(Main app has dependencies to these modules). Database part is done in a separate module(Not in the app module). I have followed the instructions and my code build successfully.
But my app crashes when I try to call “SQLiteDatabase.loadLibs(context)”.
Error massage is “java.lang.UnsatisfiedLinkError: Couldn’t load stlport_shared from loader dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/com.stl.blelogger-1.apk”],nativeLibraryDirectories=[/data/app-lib/com.stl.blelogger-1, /vendor/lib, /system/lib]]]: findLibrary returned null” .
I have added all the libraries in to the module where I develop the database(Not to the main app module).
Can any one help me to fix this…