UnsatisfiedLinkError, libopencv_java3.so is 64-bit instead of 32-bit
jenia opened this issue · 2 comments
Summary:
I cannot load tessaract when the app is starting.
I get "UnsatisfiedLinkError, libopencv_java3.so is 64-bit instead of 32-bit".
In contrast, when I remove tesseract from the project, I can load the app with opencv and use the functionality of opencv.
Can you please tell me how to load your project in the 64 bit version? Thanks
put libopencv_java3.so 32 bit (instead of 64) files to armeabi, armeabi-v7a, x86 folders (if you added them to your jniLibs manually, mb you added 64 bit .so files there)
here you can download any opencv for android and find needed .so files https://sourceforge.net/projects/opencvlibrary/files/opencv-android/ (for specific architecture)
This sounds to me like you need to use either the 32-bit version of both tess-two and OpenCV, or instead use the 64-bit version of both tess-two and OpenCV.
For this project, you can build versions for all ABIs using the instructions in BUILDING.md and setting the appropriate values for APP_ABI in Application.mk.
In any case, this is not a bug in this project.