gpt4 book ai didi

android - SQLCipher for Android : icudt46l. zip 真的需要吗?

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:47:14 37 4
gpt4 key购买 nike

我原以为本地化数据文件 icudt46l.zip 并不是真正需要的,但如果我不将其包含在 Nexus 5 上,我会收到运行时错误:

E/AndroidRuntime(4341): Caused by: net.sqlcipher.database.SQLiteException: 不是错误

这意味着 Android 版 SQLCipher 总体上需要将近 7MB 的额外文件:
- 2.7MB Assets /icudt46l.zip
- 0.2MB lib/armeabi/libdatabase_sqlcipher.so
- 2.3MB lib/armeabi/libsqlcipher_android.so
- 0.4MB lib/armeabi/libSTLport_shared.so
- 0.1MB lib/commons-codec.jar
- 1.1MB lib/guava-r09.jar
- 0.1MB 库/sqlcipher.jar

其他人是否需要包含文件 icudt46l.zip?

最佳答案

引用 the documentation for SQLCipher for Android :

SQLCipher for Android depends on localization data from the ICU project. SQLCipher for Android will attempt to use a system provided ICU localization data file called icudt46l.dat located in the /system/usr/icu directory if available. If that is not found, SQLCipher for Android will attempt to unzip the icudt46l.zip file located within the applications asset directory. It is recommended that the icudt46.zip file be included with your application for best platform compatibility. If you need to adjust the size of the localization data for your application, a ICU data library customizer is available here.

我不知道任何版本的 Android 系统提供的 ICU 数据满足 SQLCipher 的需求。

关于android - SQLCipher for Android : icudt46l. zip 真的需要吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22024657/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com