-
Notifications
You must be signed in to change notification settings - Fork 569
What about Android 4.0 support? #34
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
Comments
Hello, We had not tested SQLCipher for Android on 4.0 at the time of the release. We will look into the issue you are seeing on 4.0. Thanks! |
I experienced a similar issue on a "real" Galaxy Nexus phone with Android 4.0. The app works find on 2.2 and 2.3. I was calling getReadableDatabase(). 12-15 16:47:27.819: ERROR/AndroidRuntime(28459): FATAL EXCEPTION: main |
Hello Vitaly-Olshevsky, We have put together a branch that includes our work to support Android 4.0, would you be willing to try it out? If so, you can find the repository below: https://github.com/developernotes/android-database-sqlcipher/tree/icu46 |
I used the sqlcipher.jar that was present in the dist folder of the downloaded zip and I still got an exception on android 4.0 opening a readable database.
The date on the jar is 11/29, are those out of date and I have to create the jars myself? -----Original Message----- Hello Vitaly-Olshevsky, We have put together a branch that includes our work to support Android 4.0, would you be willing to try it out? If so, you can find the repository below: https://github.com/developernotes/android-database-sqlcipher/tree/icu46 Reply to this email directly or view it on GitHub: |
I also build from source and got the following exception calling getReadableDatabase(): 01-04 23:54:41.767: ERROR/CMC/DataProvider(451): Exception on getting readable DB 01-04 23:54:41.767: ERROR/CMC/DataProvider(451): info.guardianproject.database.sqlcipher.SQLiteDatabase.dbopen(Native Method) -----Original Message----- I used the sqlcipher.jar that was present in the dist folder of the downloaded zip and I still got an exception on android 4.0 opening a readable database.
The date on the jar is 11/29, are those out of date and I have to create the jars myself? -----Original Message----- Hello Vitaly-Olshevsky, We have put together a branch that includes our work to support Android 4.0, would you be willing to try it out? If so, you can find the repository below: https://github.com/developernotes/android-database-sqlcipher/tree/icu46 Reply to this email directly or view it on GitHub: |
Hello inuwan, Can you verify you were building the source from the icu46 branch? Also, you will need to package the new icudt46l.zip file located in the assets directory into your applications assets directory instead of the old icudt44l.zip as the localization library needed to be upgraded for Android 4.0. You should be able to get the binaries out of the libs directory once the build is complete. |
Hi, I've tested improvements for the SQLCipher from the specified repository and it seems to works perfectly on Android 4.0. Thanks for the fix. |
Hi Vitaly-Olshevsky, Thanks for the feedback, glad to hear it is working well for you! |
Hi, Regards, |
Hi pavaniakella, The latest binary can be downloaded here. |
Thank you Nick. it worked for me. Sent from my iPhone On 27 Nov 2012, at 19:25, Nick Parker [email protected] wrote:
|
It seems that the latest release (0.0.6-FINAL) doesn't work properly on Android 4.0 (at least on emulator).
I've tested the library on notepadbot application, as well as on this sample activity:
And i'm always getting the next exception during the database creation:
On all version below 3.2 everything works fine.
Does SQLCipher for android currently supports version 4.0? Have it been tested yet? Is there some workaround?
(Or maybe i'm just doing something wrong?)
The text was updated successfully, but these errors were encountered: