Android Question SQLCipher initialization error

peter93

Member
Licensed User
Longtime User
When I execute this:
SQL1.Initialize(File.DirInternal, "1.db", True, DB_PASSWORD, "")
I get this error:
main_activity_create (java line: 762)
java.lang.UnsatisfiedLinkError: dlopen failed: library "libutils.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:977)
at java.lang.System.loadLibrary(System.java:1530)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:174)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:169)
at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize(SQLCipher.java:50)
at ...
I do not understand where this library is.
 

peter93

Member
Licensed User
Longtime User
Yes on Xperia with Android 7.0.
I have:
#DebuggerForceStandardAssets to True.
Sub Process_Globals
Dim SQL as SQL
Dim SQL1 As SQLCipher
icudt46l.zip in my project\files folder
and
SQLCipher.jar
SQLCipher.xml
sqlcipher_native.jar
guava-r09.jar
commons-codec.jar in additional libraries folder
in apk I have under lib folder
armeabi
libdatabase_sqlcipher.so
libsqlcipher_android.so
libstlport_shared.so

I do not see this library libutils.so.
 
Last edited:
Upvote 0

peter93

Member
Licensed User
Longtime User
Works fine with targetSdkVersion = "19".
The last version of zetetic sqlCipher for Android is 3.5.7
is there a problem with android 7 and 3.3.1 sqlCipher version ?
 
Upvote 0
Top