-
Notifications
You must be signed in to change notification settings - Fork 569
issues since update to version 3.5.x #249
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
Hi @moodstubos How are you integrating the library, are you using the AAR package? Can you provide a full stack trace? Can you confirm the version number of the library you are using that generated the error? Can you try running the SQLCipher for Android test suite on that device? |
Hi, do you mean this (stack trace)?: D/dalvikvm: Trying to load lib /data/data/com.x.x/lib/libsqlcipher.so 0x40515a18 line 28 in Database.java is:
reproduced on virtual device API 9 (Android 2.3): Can test the Android test suite this night. |
Hi @moodstubos I was able to create a simple demo application utilizing the 3.5.2 version of SQLCipher for Android running on a Nexus S emulator which ran successfully. |
Hi @moodstubos I am not certain what is causing the issue you are seeing within Android Studio. I replicated your build environment and was not able to experience the same issue. To rule out an oddity, would you try either adjusting your JDK down to 1.7 and/or the Android Build Tools down to version 23 to see if either of those make a difference on your machine? Also, we recently released version 3.5.3 of SQLCipher for Android, it is worth trying that build as well. We look forward to hearing your results. Thanks! |
I am also facing the same issue on one device. Please find below stack trace. Library used: net.zetetic:android-database-sqlcipher:3.5.2@aar Date: 2016-08-03T17:17:14Z
Fatal Exception: java.lang.RuntimeException: An error occured while executing doInBackground() |
Hello @suraj9781 It appears your application does not contain the native .so files required by SQLCipher for Android. Can you decompile your binary with apktool to verify what is being included? Are you stripping components during your build process? |
No .I am not stripping any components during build process and the crash occurred only one device mentioned in log ie Sony Xperia E3 Dual |
This something thats not new in this version and also imho not really a bug within this library but strange behaviour of Android. I assume the problem here is related to PR #234 |
Hello @suraj9781 Would you please share the full directory structure of the decompiled apk? |
Hi @suraj9781 Would you run the SQLCipher for Android test suite on the Sony Xperia and let us know your results? Thanks! |
I had the same issue, then I've downgraded to version 3.3. Sorry I cannot provide more information because I do not have access to them. |
Has been this issue resolved ? |
Hi @ray-pixar We have been unable to reproduce this issue. There has been no further communication from @moodstubos since July of this year following our additional questions regarding the issue. We believe at this point the issue may be environmental. |
Hi @developernotes |
Hi @ray-pixar We consider this an environmental issue by definition; it is not reliably reproducible, occurs only on specific devices (e.g. Sony Experia), and functions normally on standard reference platforms. Its good to know that multiple people are seeing the problem, but that doesn't mean it's not an environmental problem if they have similar environments. Unfortunately without being able to reproduce this, we can't troubleshoot it. If anyone experiencing this problem is able to provide a reproducible scenario/test for this we'd issue be happy to look into it further. |
Hi i am facing this problem @developernotes , please could u help me. |
Hi @techlectdinesh How is your application including SQLCipher for Android? It appears the native library is not present. Are you utilizing ProGuard by chance? If so, would you try disabling that? |
Hi @audippa We use Github Issues for tracking issues with the SQLCipher for Android software itself. It appears you have an integration issue. If you have a commercial license, please reach out for private support at [email protected]. If you are a community edition user, we have a public discuss site for you to post your questions. |
Hi @ALL,
I updated from an old version to version 3.5.0 (later to 3.5.2) and I found this error at developer console:
java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1479]: 33 unknown reloc type 160 @ ( 6332)
Only old android devices seem to be affected.
I could reproduce this with the emulator. Nexus S device with android API 9.
the last line before this crash is
D/dalvikvm: Trying to load lib /data/data/com.my.app/lib/libsqlcipher.so 0x40514868
If I take version 3.5.2 the emulator crashs and rebooting virtual device.
Any ideas?
many thanks,
Graham
The text was updated successfully, but these errors were encountered: