NeutrinosPlatform / cordova-plugin-document-scanner

cordova plugin for document scan
https://www.neutrinos.co/
MIT License
85 stars 60 forks source link

App crash in android 7.0 #32

Closed Karanveer-logiciel closed 5 years ago

Karanveer-logiciel commented 6 years ago

@ChrisTomAlx - I am facing problem to use this plugin i have android 7.0 (Samsung s2 tab).

when i call scan.scanDoc my app crashing with error showing below.

image

Here you can see in yellow lines 'couldn't find libScanner.so`

But i extract my .apk file where it's not present but in similar folders this file is already present such as armeabi, armeabi-v7a, mips, x86 except arm64-v8a, x86_64 for more clarification you kindly look at images.

sc

These are the folders of extracted .apk

ChrisTomAlx commented 6 years ago

Hey @Karanveer-logiciel

This looks similar to issue #8 . Please see if those solutions work out.

It is possible a 64 bit build library was loaded first and hence android is looking for a 64 bit library for the scan library as well. The solution mentioned above should work for you.

Cheers, Chris Neutrinos

Karanveer-logiciel commented 6 years ago

@ChrisTomAlx - Ok i will try this solutions shortly...

ChrisTomAlx commented 5 years ago

Closing this issue for now. We can reopen it, if you are still having problems.

Cheers, Chris Neutrinos