Android Question SQLCipherB4A 4.10.0 Library not working with DBUTils

mcqueccu

Well-Known Member
Licensed User
Longtime User
The modified SQLCipherB4A library found here is not working with DBUtils.

To reproduce, download the example in post #4,
then Add DBUtils library
then add after the necessary initialization is done
B4X:
Log(DBUtils.GetDBVersion(sql))

When you compile, you get this

B4X:
B4A Version: 13.40
Parsing code.    (0.02s)
    Java Version: 19
Building folders structure.    (0.04s)
Running custom action.    (0.06s)
Compiling code.    (0.12s)
Compiling layouts code.    (0.00s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.09s)
Linking resources    (0.37s)
    build tools: 36.0.0, android jar: android-36
Compiling generated Java code.    Error
B4A line: 67
Log(DBUtils.GetDBVersion(sql))
src\com\sql\cipher\b4xmainpage.java:180: error: incompatible types: SQLCipher cannot be converted to SQL
__c.LogImpl("113828097",BA.NumberToString(_dbutils._getdbversion /*int*/ (ba,(anywheresoftware.b4a.sql.SQL)(_sql))),0);
 

Enxix

Member
Hola. Porque en el código fuente Erel extiende sqlcipher de sql y yo elimine está extensión.
Déjame que lo corrijo. Dime que versión de dbutils usas para poder realizar pruebas.

Hi. Because in the source code, Erel extends sqlcipher from sql, and I removed this extension. Let me fix it. Tell me what version of dbutils you're using so I can run tests.
 
Upvote 0
Top