我正在使用 sqlcipher.jar 在 android 中加密数据库,并在中使用它的本机库
libs/armeabi 文件夹
1)lib数据库sqlcipher.so
2)libsqlcipher_android.so
3)libstlport_shared.so
and
libs/x86 文件夹
1)lib数据库sqlcipher.so
2)libsqlcipher_android.so
3)libstlport_shared.so
和 jar 文件名为sqlcipher.jar在 libs/ 文件夹中我导入了所有内容
现在一切都工作正常,数据库正在获取,从 sqlite 读取也工作正常,而且我没有收到任何类型的错误SQLiteDatabase.loadLibs(上下文); line
but i want to implement also OCR in my project to do that i am importing project named tess-two from this http://code.google.com/p/tesseract-ocr/ http://code.google.com/p/tesseract-ocr/ and https://github.com/rmtheis/tess-two https://github.com/rmtheis/tess-two in that there is a library named tess-two folder
我正在将该项目库导入到我的 android 项目中,我清理了我的项目并运行它,当时我收到了错误SQLiteDatabase.loadLibs(上下文);
当我删除时再次tess-two库并从设备中卸载并进行清理、构建和运行,它工作正常,没有发生错误,我希望 OCR 功能也出现在我的项目中,任何人都可以帮助我
我有同样的问题..我正在使用 Android Studio,并且我已将应用程序从 eclipse 导入到 android studio。
I spent 3-4 hours to find out the solution.
Here what I did to solve this issue.. (Only for Android studio)
Create Directory into src
folder name it main
and other directory as per following image. You may have libs and assets folder outside of src folder, in main directory of project, that is eclipse structure. We will need to follow Android Studio's structure..
欲了解更多详情..检查this https://discuss.zetetic.net/t/android-studio-integration/65 link...
有关 SqlCipher 检查的其他帮助this https://discuss.zetetic.net/category/sqlcipher/sqlcipher-faq link..
(我知道我回答这个问题有点晚了,但这可能会对某人有所帮助。)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)