Neelarghya/tesseract-unity

System.DllNotFoundException in android

Closed this issue · 3 comments

When I build apk file it shows an error

System.DllNotFoundException - Unable to load DLL 'libtesseract.so': The specified module could not be found.

Screenshot_20210119-125459

Anyone solved this issue

Could you unzip (change extension to .zip or .rar and unzip/unrar) the APK that you are building and check if all the .so files that are there inside the Assets/Plugins/Android are also packaged in your APK?

hi Neelarghya,
The build works fine when I build your git project.

But when I export the files to another project and build them in android, it shows the above error.

I check the plugin folder and apk. it contains all the so files

Had the same problem.
Seems like in the build settings the scripting backend must be Mono.
This problem always occpurs when IL2CCP is selected