Open AymenSoft opened 6 years ago
Logs:
2018-11-26 12:25:48.272 15547-15547/my.package E/ScanCardActivity: Scan card failed
java.lang.RuntimeException: onScanCardFinishedWithError()
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onScanCardFailed(ScanCardActivity.java:72)
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onCreate(ScanCardActivity.java:36)
at android.app.Activity.performCreate(Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2910)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Caused by: cards.pay.paycardsrecognizer.sdk.camera.RecognitionUnavailableException: Unsupported architecture
at cards.pay.paycardsrecognizer.sdk.ui.ScanCardActivity.onCreate(ScanCardActivity.java:36)
at android.app.Activity.performCreate(Activity.java:7183)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2910)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
@daniil-pastuhov thank you for log, so is there any helpful solution for that
@AymenSoft
I see also E/Parcel: Class not found when unmarshalling: cards.pay.paycardsrecognizer.sdk.ui.ScanCardRequest
But unfortunately don't see any solution now :(
I have the same problem on android 8.1 , but it's working on android 5.0. So I created demo project for card scanning , and it's working for both OS versions(8.1, 5.0).
But I can't find the reason why it's not working on my main project for android 8.1
By searching into the library, I found that the RecognitionCoreNdk couldn't be initialize with an error Fatal Exception: java.lang.UnsatisfiedLinkError
.
Following this article I added this filters into the build.gradle:
defaultConfig {
...
ndk {
abiFilters "armeabi-v7a", "x86", "armeabi", "mips"
}
}
And it works
@tommybuonomo it's working, thank you for solution
i'm using paycards in my app, in android8 when click on button to start scan intent, nothing happen, can any one help