Skip to content

Error in creating database in Android 2.2.2 #30

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

Closed
Swarnamahesh opened this issue Nov 25, 2011 · 3 comments
Closed

Error in creating database in Android 2.2.2 #30

Swarnamahesh opened this issue Nov 25, 2011 · 3 comments

Comments

@Swarnamahesh
Copy link

Hi,
I am getting the following errors while I'm trying to create db in android 2.2 and the db creation fails.
However in android 2.3 it works fine. Is there any bug fix for this?

Exceptions :

info.guardianproject.database.sqlcipher.SQLiteException: not an error

Error copying icu data fileicudt44l.zip

The db creation code is mentioned in this bug :
https://github.com/guardianproject/android-database-sqlcipher/issues/28

@n8fr8
Copy link
Collaborator

n8fr8 commented Nov 25, 2011

SQLCipher for Android depends on localization data from the ICU project. On Android platform version 2.3 and above SQLCipher for Android will attempt to use system provided ICU localization data. If you are attempting to use SQLCipher for Android on a supported platform below 2.3, the assets/icudt44l.zip needs tobe included in your application as a dependency.

Swarnamahesh reply@reply.github.com wrote:

Hi,
I am getting the following errors while I'm trying to create db in android 2.2.1 and 2.2.2 and the db creation fails.
However in android 2.2.3 it works fine. Is there any bug fix for this?

Exceptions :

info.guardianproject.database.sqlcipher.SQLiteException: not an error

Error copying icu data fileicudt44l.zip

The db creation code is mentioned in this bug :
https://github.com/guardianproject/android-database-sqlcipher/issues/28


Reply to this email directly or view it on GitHub:
https://github.com/guardianproject/android-database-sqlcipher/issues/30

@n8fr8
Copy link
Collaborator

n8fr8 commented Nov 28, 2011

Did inclusion of the zip file solve the problem?

@Swarnamahesh
Copy link
Author

Yes it did work now. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants