Invalid Bug in the "Scanner" application when scanning documents


DanK1

Members
Feb 27, 2021
2
3
Hello! I am writing with the help of a translator, so do not pay attention to possible errors)) I have a Redmi Nots 8 phone, a scanner in the application, if I want to scan documents, my application crashes immediately, and if I scan the QR code, then everything is fine. Please help me in this situation, or fix it. Thank..
 

Attachments

  • Screenshot_2021-02-27-13-20-55-863_com.miui.home.jpg
    Screenshot_2021-02-27-13-20-55-863_com.miui.home.jpg
    756.8 KB · Views: 211
Last edited:
Code:
java.lang.RuntimeException: An error occurred while executing doInBackground()
    at android.os.AsyncTask$4.done(Unknown Source:27)
    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
    at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
    at java.util.concurrent.FutureTask.run(FutureTask.java:271)
    at android.os.AsyncTask$SerialExecutor$1.run(Unknown Source:2)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:923)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long com.xiaomi.ocr.sdk.imgprocess.DocumentProcessJNI.nativeInit(java.lang.String, java.lang.String) (tried Java_com_xiaomi_ocr_sdk_imgprocess_DocumentProcessJNI_nativeInit and Java_com_xiaomi_ocr_sdk_imgprocess_DocumentProcessJNI_nativeInit__Ljava_lang_String_2Ljava_lang_String_2)
    at com.xiaomi.ocr.sdk.imgprocess.DocumentProcessJNI.nativeInit(Native Method)
    at com.xiaomi.ocr.sdk.imgprocess.DocumentProcess.init(Unknown Source:7)
    at com.xiaomi.ocr.sdk.imgprocess.DocumentProcess.<init>(Unknown Source:10)
    at com.xiaomi.ocr.sdk.imgprocess.DocumentProcess.getInstance(Unknown Source:13)
    at com.xiaomi.scanner.module.BaseModule$DocumentInitTask.doInBackground(Unknown Source:51)
    at android.os.AsyncTask$3.call(Unknown Source:20)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    ... 4 more
 
  • Like
Reactions: DanK1