openOrCreateDatabase方法中的Android SqlCipher库错误

时间:2014-03-05 16:47:40

标签: android sql sqlcipher

我正在尝试使用SqlCipher库在我的应用程序中加密和解密数据库,但是在执行解密之后,异常正在发生..加密有时可以正常工作。

net.sqlcipher.database.SQLiteException: file is encrypted or is not a database


CREATE TABLE android_metadata failed
Failed to setLocale() when constructing, closing the database
net.sqlcipher.database.SQLiteException: file is encrypted or is not a database

使用SQLCipher

时出现不满意的链接错误

请帮助我。非常感谢。

由于

1 个答案:

答案 0 :(得分:0)

请确保您在应用程序的icudt46l.zip目录中包含所有本机库和assets文件。有一篇文章介绍了可用的集成步骤here