Apip Bayok Member Nov 23, 2020 #1 Hi @Erel, I face error like this java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "bsd_signal" referenced by "/data/app/com.cipher.test-2/lib/arm/libsqlcipher.so"... I'm using B4A V10.2 Android Build 30 SQLCipher.jar(1.60) sqlcipher4.1.2.arr I test it in a Device with armv7l Kernel architecture (based on CPU-Z), not an emulator, and I already test DBUtils.apk that you have shared before in the same device and it's working fine. Please help.
Hi @Erel, I face error like this java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "bsd_signal" referenced by "/data/app/com.cipher.test-2/lib/arm/libsqlcipher.so"... I'm using B4A V10.2 Android Build 30 SQLCipher.jar(1.60) sqlcipher4.1.2.arr I test it in a Device with armv7l Kernel architecture (based on CPU-Z), not an emulator, and I already test DBUtils.apk that you have shared before in the same device and it's working fine. Please help.
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2020 #2 SQLCipher is a library based on a native binary. I guess that it doesn't include a binary for this non-standard CPU. Upvote 0
SQLCipher is a library based on a native binary. I guess that it doesn't include a binary for this non-standard CPU.
Apip Bayok Member Nov 24, 2020 #3 Thanks for your reply Sorry that I forgot to mention that I had executed this code Code: Copy Dim jo As JavaObject Log(jo.InitializeStatic("android.os.Build").GetField("CPU_ABI")) and I got the result armeabi-v7a. inside aar file, there are this folder but empty folder except inside jni folder in the first picture, there are folders like the second picture but empty folder. Upvote 0
Thanks for your reply Sorry that I forgot to mention that I had executed this code Code: Copy Dim jo As JavaObject Log(jo.InitializeStatic("android.os.Build").GetField("CPU_ABI")) and I got the result armeabi-v7a. inside aar file, there are this folder but empty folder except inside jni folder in the first picture, there are folders like the second picture but empty folder.
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2020 #4 It is not related to the empty folders. Which device are you using? Upvote 0
Apip Bayok Member Nov 25, 2020 #6 armeabi-v7a main_cip4_click (java line: 386) java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "bsd_signal" referenced by "/data/app/com.cipher.test-2/lib/arm/libsqlcipher.so"... at java.lang.Runtime.loadLibrary0(Runtime.java:989) at java.lang.System.loadLibrary(System.java:1562) at net.sqlcipher.database.SQLiteDatabase$1.loadLibraries(SQLiteDatabase.java:223) at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:240) at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:219) at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:212) at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize(SQLCipher.java:51) at com.cipher.test.main._cip4_click(main.java:386) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197) at anywheresoftware.b4a.BA.raiseEvent(BA.java:193) at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80) at android.view.View.performClick(View.java:5647) at android.view.View$PerformClick.run(View.java:22443) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6121) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779) that full error show in Log Tab, hope that help to debug Upvote 0
armeabi-v7a main_cip4_click (java line: 386) java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "bsd_signal" referenced by "/data/app/com.cipher.test-2/lib/arm/libsqlcipher.so"... at java.lang.Runtime.loadLibrary0(Runtime.java:989) at java.lang.System.loadLibrary(System.java:1562) at net.sqlcipher.database.SQLiteDatabase$1.loadLibraries(SQLiteDatabase.java:223) at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:240) at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:219) at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:212) at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize(SQLCipher.java:51) at com.cipher.test.main._cip4_click(main.java:386) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197) at anywheresoftware.b4a.BA.raiseEvent(BA.java:193) at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80) at android.view.View.performClick(View.java:5647) at android.view.View$PerformClick.run(View.java:22443) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6121) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779) that full error show in Log Tab, hope that help to debug
Erel B4X founder Staff member Licensed User Longtime User Nov 25, 2020 #7 Try to delete the non-empty armeabi-v7a folder from the AAR. Clean the project. What happens? Upvote 0
Royni Lim Member Licensed User Nov 25, 2020 #9 im directly help @Apip Bayok with this case. is there anyone face this crash with sqlcipher can help ? Upvote 0
im directly help @Apip Bayok with this case. is there anyone face this crash with sqlcipher can help ?
Erel B4X founder Staff member Licensed User Longtime User Nov 26, 2020 #10 Best to contact https://www.zetetic.net/sqlcipher/ Upvote 0
Royni Lim Member Licensed User Nov 28, 2020 #11 after some testing on any device, crash will happen in android OS 7. i've tested i android 5 running well. is anyone running cipher on os 7 ? Upvote 0
after some testing on any device, crash will happen in android OS 7. i've tested i android 5 running well. is anyone running cipher on os 7 ?