Hi, I'm using the SQLCipher class taken from this thread
https://www.b4x.com/android/forum/threads/android-database-encryption-with-sqlcipher-library.14965/
I downloaded version V1.60 but with an error
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (activity_permissionresult)
running waiting messages (1)
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader [DexPathList [[zip file "/data/app/it.test.test-Jyuc_E_8DInjZPrO2wue9Q==/base.apk"],nativeLibraryDirectories=[/data/app/it.test .test-Jyuc_E_8DInjZPrO2wue9Q == / lib / arm64, / system / lib64, / system / vendor / lib64]]] couldn't find "libsqlcipher.so"
at java.lang.Runtime.loadLibrary0 (Runtime.java:1012)
at java.lang.System.loadLibrary (System.java:1669)
at net.sqlcipher.database.SQLiteDatabase $ 1.loadLibraries (SQLiteDatabase.java:219)
at net.sqlcipher.database.SQLiteDatabase.loadLibs (SQLiteDatabase.java:236)
at net.sqlcipher.database.SQLiteDatabase.loadLibs (SQLiteDatabase.java:215)
at net.sqlcipher.database.SQLiteDatabase.loadLibs (SQLiteDatabase.java:208)
at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize (SQLCipher.java:51)
at it.test.test.database._startdb (database.java:90)
at it.test.test.main._activity_permissionresult (main.java:836)
at java.lang.reflect.Method.invoke (Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod (Shell.java:710)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl (Shell.java:342)
at anywheresoftware.b4a.shell.Shell.raiseEvent (Shell.java:249)
at java.lang.reflect.Method.invoke (Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2 (ShellBA.java:139)
at anywheresoftware.b4a.BA $ 2.run (BA.java:360)
at anywheresoftware.b4a.BA.setActivityPaused (BA.java:432)
at it.test.test.main $ ResumeMessage.run (main.java:305)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7045)
i am using sdk 28 and it does not work
AddManifestText(
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="28"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
what can I do?
https://www.b4x.com/android/forum/threads/android-database-encryption-with-sqlcipher-library.14965/
I downloaded version V1.60 but with an error
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (activity_permissionresult)
running waiting messages (1)
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader [DexPathList [[zip file "/data/app/it.test.test-Jyuc_E_8DInjZPrO2wue9Q==/base.apk"],nativeLibraryDirectories=[/data/app/it.test .test-Jyuc_E_8DInjZPrO2wue9Q == / lib / arm64, / system / lib64, / system / vendor / lib64]]] couldn't find "libsqlcipher.so"
at java.lang.Runtime.loadLibrary0 (Runtime.java:1012)
at java.lang.System.loadLibrary (System.java:1669)
at net.sqlcipher.database.SQLiteDatabase $ 1.loadLibraries (SQLiteDatabase.java:219)
at net.sqlcipher.database.SQLiteDatabase.loadLibs (SQLiteDatabase.java:236)
at net.sqlcipher.database.SQLiteDatabase.loadLibs (SQLiteDatabase.java:215)
at net.sqlcipher.database.SQLiteDatabase.loadLibs (SQLiteDatabase.java:208)
at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize (SQLCipher.java:51)
at it.test.test.database._startdb (database.java:90)
at it.test.test.main._activity_permissionresult (main.java:836)
at java.lang.reflect.Method.invoke (Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod (Shell.java:710)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl (Shell.java:342)
at anywheresoftware.b4a.shell.Shell.raiseEvent (Shell.java:249)
at java.lang.reflect.Method.invoke (Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2 (ShellBA.java:139)
at anywheresoftware.b4a.BA $ 2.run (BA.java:360)
at anywheresoftware.b4a.BA.setActivityPaused (BA.java:432)
at it.test.test.main $ ResumeMessage.run (main.java:305)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7045)
i am using sdk 28 and it does not work
AddManifestText(
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="28"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
what can I do?
Last edited: