Cant open pdf file
See original GitHub issueCant open file by this link https://www.x.org/archive/X11R7.5/doc/LICENSE.pdf
Another files open correctly. PDF readers open this file correctly, what i’m doing wrong?
pdfView.fromFile(file) .load();
Where “file” – absolute path to the pdf-file, so file.exists() returns always true.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
Can't open PDF - Adobe Support
Right-click the PDF, choose Open With > Choose default program (or Choose another app in Windows 10). · Choose Adobe Acrobat Reader or...
Read more >6 Fixes to Try When Adobe Acrobat Reader Can't Open PDF ...
6 Fixes to Try When Adobe Acrobat Reader Can't Open PDF Files on Windows · 1. Close Background Processes and Give Adobe a...
Read more >Effective Methods to Fix "Cannot Open PDF" Error
Method 1: Disable the protected mode at startup · Method 2: Install the latest version of Adobe Acrobat · Method 3: Checking if...
Read more >PDF won't open? How to fix PDF files not opening error
PDF won't open ? How to fix PDF files not opening error · 1. Install the latest version of Adobe Acrobat · 2....
Read more >Can't Open PDF? How To Fix PDF Files Not Opening Error
On Windows: navigate to the PDF file -> right click on it -> select Open with -> click Choose another app -> Choose...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Quickly tested and yes seems to be an issue, download the file locally using curl, etc and open locally then it will work ok.
Simple enough when you save locally double check your paths. System.out.print path etc and use a file manager on device to compare paths incase you have an invalid path, obviously load pdf using another program to check if download code is okay and pdf is valid. The code should download and then open a local copy then delete when not required basically it’s a temp pdf unless you wanna keep it.