Closed terrycom9581 closed 2 years ago
Hi @terrycom9581
Yes, SQLCipher for Android supports armeabi-v7a
, x86
, x86_64
, and arm64_v8a
on Android 4.1 and up. Our README currently lists support for 4.1-10. We will adjust the wording. Are you experiencing an issue on a certain platform, or OS version?
I am testing on Android 9 (64bit) - Nox Emulator and facing some runtime issues. ( the build was successful )
I added the following lines to the build.gradle of my project.
It was built successfully but when I ran, it corrupted with the following log
No pending exception expected: java.lang.ClassNotFoundException: Didn't find class "net.sqlcipher.database.SQLiteDatabase" on path
Would you kindly comment on this?
Hi @terrycom9581
It is hard to comment on the specific cause from just that screenshot. IOCipher has a dependency on SQLCipher for Android, however, that reference is older than the current version. Additionally, it is possible ProGuard processing could be stripping class from the APK. Finally, you are also referencing the AndroidX sqlite-framework. Generally speaking we advise against bundling multiple SQLite/SQLCipher implementations within a single application due to runtime conflicts and the potential for corruption.
Yes, I am using IOCipher and maybe this error is related to SQLiteDatabase in sqlcipher. I suppose I didn't make a correct configuration in my build.gradle. Would you give me a kind of sample configuration for this? for latest version, i mean
Hi @terrycom9581
Information regarding usage of the latest version of SQLCipher for Android is available here.
I tried it but it was making the above exception
Hello, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug", "enhancement", or "security" and I will leave it open. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to reopen with up-to-date information.
Does this project support x64 and android 11+? If not, do you plan to update this project?