Help - Tesseract Library (Android) - Unsatisfied Link Error

29 views
Skip to first unread message

Nicholas Tuley

unread,
Apr 4, 2018, 2:35:27 AM4/4/18
to tesseract-ocr
I am getting an error

"java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.njtul.receiptscannerdemo-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.njtul.receiptscannerdemo-2/lib/arm, /data/app/com.example.njtul.receiptscannerdemo-2/base.apk!/lib/armeabi, /vendor/lib, /system/lib]]] couldn't find "libjnilept.so""

And I think that it is from missing .so files, but am not sure how to fix this. I have brought Tesseract into my android studio project using gradle, and do not know where to get the .so files or where to put them within my project once I have them. I have been looking on the internet for help with this but none of the solutions propose a solution for an android project that uses gradle. Is this a limitation of gradle? Or am I missing something?

Any help would be appreciated.
Reply all
Reply to author
Forward
0 new messages