Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Cannot open PDF file after open wrong file #23

@codingjeremy

Description

@codingjeremy

Issue by luongdolong
Thursday May 24, 2018 at 03:57 GMT
Originally opened as googlearchive/android-PdfRendererBasic#25


I have a file: pdf.txt. I rename it to: pdf.pdf
Below is my steps:

  1. Open app. Open file "sample.pdf". -> OK
  2. Open file "pdf.pdf" -> show Toast: "Error! file not in PDF format or corrupted"
  3. Open file "sample.pdf" again. -> show Toast: "Error! file not in PDF format or corrupted"
    Now I cannot open PDF file.
    If I kill app, and open app again. File "sample.pdf" show ok. And if I open wrong file. I cannot open any files more.
    How can I resolve this issue? Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions