Wednesday, 11 September 2013

Updating SqlCipher from 1.1 to 2.2.2

Updating SqlCipher from 1.1 to 2.2.2

I am trying to update the sqlcipher from version 1.1 to 2.2.2. The new
version of the sqlcipher works fine in a fresh install or when i run it
from eclipse. But when I update the app which was previously using v1.1
sqlcipher with new v2.2.2, the library doesn't load properly. When i call
the SQLiteDatabase.loadLibs(this), the app crashes. i get the below info
in the logcat
09-11 11:21:56.887: I/Database(26277): JNI_OnLoad called
09-11 11:21:56.887: I/Database(26277): JNI_OnLoad register methods
09-11 11:21:56.887: E/Database(26277): Can't find
SQLiteDatabase.mNativeHandle
09-11 11:21:56.887: E/Cursor(26277): Can't find
net/sqlcipher/database/SQLiteCompiledSql
09-11 11:21:56.887: E/Cursor(26277): Can't find
net/sqlcipher/database/SQLiteQuery
09-11 11:21:56.887: E/Cursor(26277): Can't find
net/sqlcipher/database/SQLiteProgram
09-11 11:21:56.887: E/Cursor(26277): Can't find
net/sqlcipher/database/SQLiteStatement
09-11 11:21:56.887: E/CursorWindow(26277): Can't find
net/sqlcipher/CursorWindow
09-11 11:21:56.903: W/dalvikvm(26277): threadid=11: thread exiting with
uncaught exception (group=0x40b73930)

No comments:

Post a Comment