문제

I am trying to encrypt and decrypt databse in my application using SqlCipher library, but while doing decryption following exceptions are occurring..Encryption sometimes works fine.

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

Unsatisfied Link error while using SQLCipher library

Please help me in this.Any help would be appreciated.

Thanks

도움이 되었습니까?

해결책

Please make sure you are including all native libraries and the icudt46l.zip file within the assets directory of your application. There is an article covering the steps for integration available here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top