MindevPDFViewer icon indicating copy to clipboard operation
MindevPDFViewer copied to clipboard

Problems reading PDF

Open jeluchu opened this issue 5 years ago • 3 comments

At first, it successfully loaded the PDF files, but after several times it quits unexpectedly, I am trying to replicate it again to get the logcat. On the other hand, the bitmap sometimes deforms it and does not show the real image of the PDF. I have seen that bitmap deformation problem in Android 6.0

On the other hand in Android 10 the library does not work, the application is closed directly

    java.lang.VerifyError: Verifier rejected class PdfDownloader$download$1$1: java.lang.Object PdfDownloader$download$1$1.invokeSuspend(java.lang.Object) failed to verify: java.lang.Object PdfDownloader$download$1$1.invokeSuspend(java.lang.Object): [0x259] cannot access instance field java.lang.Object kotlin.jvm.internal.Ref$ObjectRef.element from object of type Reference: java.io.IOException (declaration of 'PdfDownloader$download$1$1' appears in /data/app/com.jeluchu.laarroba-bLe5-cINryi1Cpe21oNNUA==/base.apk!classes2.dex)
        at PdfDownloader$download$1.invokeSuspend(PdfDownloader.kt:28)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
        at android.os.Handler.handleCallback(Handler.java:883)
        at android.os.Handler.dispatchMessage(Handler.java:100)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7356)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

jeluchu avatar Jun 17 '20 11:06 jeluchu

Hello Thank you for letting me know the issue. I will quickly check and revise what you said!

Thank you again!

mkw8263 avatar Jun 17 '20 14:06 mkw8263

Thank you very much for your quick response, any detail you need to know can you tell me

jeluchu avatar Jun 17 '20 15:06 jeluchu

PDF Reading issue while loading pdf from gallery it misses some images for showing

alpha00-coder avatar Apr 19 '21 19:04 alpha00-coder