-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin crashes after update #24
Comments
Hey @waqasmq I think I have found a solution to this. I have made changes to the scan library, Could you please test it if possible? Let me know if this worked. The opencv library was being loaded first, which has 64 bit builds in it. I have changed the code to load the scanner library first which has only 32 bit builds. So now it will make sure 32 bit builds are used when running the app. If this solves it for you then it should probably be a permanent solution to issue #8 as well. |
Hey @ChrisTomAlx , Regards, |
i got the same crash issue on the Android before... right now it works perfectly on the phone !! |
I am glad that it worked for you ;) |
Hi chris,
I built my ionic app today after some other changes ( not related to this plugin).. and i saw it updated the cordova scan plugin.. and since then this plugin starts to crash. it does not open camera or gallery options :( ..
and in the phone log i can see this exception
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/io.ionic.starter-eC91gWckgNN3MK_UB9WYeA==/base.apk"],nativeLibraryDirectories=[/data/app/io.ionic.starter-eC91gWckgNN3MK_UB9WYeA==/lib/arm64, /system/lib64, /system/vendor/lib64]]] couldn't find "libopencv_java3.so"
I was able to solve this by following the solution in this thread https://stackoverflow.com/questions/33030900/android-unsatisfiedlinkerror-with-tesseract-and-opencv
any ideas about a proper fix?
The text was updated successfully, but these errors were encountered: