Skip to content
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

PDF file is corrupted #224

Open
r8HZGEmq opened this issue Jun 25, 2017 · 1 comment
Open

PDF file is corrupted #224

r8HZGEmq opened this issue Jun 25, 2017 · 1 comment

Comments

@r8HZGEmq
Copy link

I run my app(demo) on 4 devices and try to read the pdf file from sdCard and show it. The system versions of the four devices are 4.4.2(phone), 5.1(pad), 6.0(phone) and 6.0.1(pad) respectively. Except for 6.0.1 this pad device failed, prompt message:
Exception 'java / lang / RuntimeException', Message: 'PDF file is corrupted'; PdfDocument.nativeOpen (): return handle = 0xaf6a4188
At org.vudroid.pdfdroid.codec.PdfDocument.open (Native Method).
I tried to read the source code, but traced to the last into the native method.any help is grateful

@joshuayingwhat
Copy link

joshuayingwhat commented Apr 17, 2018

you need add read external storage permission

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants