【问题标题】:Android SqlCipher library error in openOrCreateDatabase methodopenOrCreateDatabase 方法中的 Android SqlCipher 库错误
【发布时间】:2014-03-05 16:47:40
【问题描述】:

我正在尝试使用 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库时出现Unsatisfied Link错误

请帮助我。任何帮助将不胜感激。

谢谢

【问题讨论】:

    标签: android sql sqlcipher


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多