-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net.zetetic.database.sqlcipher.SQLiteException: not authorized (code 1) #5
Comments
Hi @wangtao7c0 Are you using the Commercial, or Community edition of SQLCipher for Android? The former requires that you provide a license code prior to using any encryption operation. Providing the license code can be done in the
The Community edition does not utilize a runtime licensing mechanism. |
hi, I'm using the community edition. |
Hi @wangtao7c0 Both the Community and Commercial edition are built with |
Yes, it work properly while removing the call to |
lib: "net.zetetic:sqlcipher-android:4.5.2"
override fun postKey(connection: SQLiteConnection) {
connection.execute("SELECT load_extension('libsimple')", null, null)
}
when I run this code, my app is crashed by net.zetetic.database.sqlcipher.SQLiteException: not authorized (code 1)
pls give me some advice to address this, thks
I guess, is there some compile flags not enabled?
The text was updated successfully, but these errors were encountered: