Sqlcipher __ CREATE TABLE android_metadata failed

前端 未结 2 1173
Happy的楠姐
Happy的楠姐 2021-01-22 20:28

I\'m trying to attach a existing sqlcipher database(encrypted) in my android application but after copying it in my directory it cannot be opened using \"SQLiteDatabase.openData

2条回答
  •  生来不讨喜
    2021-01-22 20:48

    Are you certain you provided the correct passphrase to the database? Does your database have a configuration (i.e., cipher, page size, kdf iteration length, etc) that differ from the default SQLCipher distribution? I have an example of attaching another SQLCipher database here within the test suite, you might consider running the test suite locally to compare. You might also consider posting this question with your additional details on the SQLCipher mailing list.

提交回复
热议问题