Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #6695 Reply

    Santi

    im getting this error:

    my path \myFragment.java
    Error:(20, 28) error: package com.epapyrus.plugpdf does not exist
    Error:(21, 33) error: package com.epapyrus.plugpdf.core does not exist
    Error:(22, 33) error: package com.epapyrus.plugpdf.core does not exist
    Error:(23, 40) error: package com.epapyrus.plugpdf.core.viewer does not exist
    Error:(24, 40) error: package com.epapyrus.plugpdf.core.viewer does not exist
    Error:(25, 40) error: package com.epapyrus.plugpdf.core.viewer does not exist
    Error:(26, 40) error: package com.epapyrus.plugpdf.core.viewer does not exist
    Error:(27, 65) error: package com.epapyrus.plugpdf.sample.documentViewWithoutController does not exist
    Error:(47, 13) error: cannot find symbol class ReaderView
    Error:(63, 13) error: cannot find symbol variable PlugPDF
    Error:(65, 13) error: cannot find symbol variable PlugPDF
    Error:(66, 13) error: cannot find symbol variable PlugPDF
    Error:(67, 34) error: package PlugPDFException does not exist
    Error:(71, 13) error: cannot find symbol variable PlugPDF
    Error:(112, 23) error: cannot find symbol class ReaderView
    Error:(115, 39) error: cannot find symbol class ReaderListener
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Error:Execution failed for task ‘:app:compileDebugJava’.
    > Compilation failed; see the compiler error output for details.

    #6703 Reply

    Dr. Plug
    Moderator

    Hi Santi,

    Thanks for your question. I think cause of the problem is build path. Could you try again by follow this link? https://plugpdf.com/plugpdf-android-devguide/

    hope it will help you. If you have any questions please feel free to contact.

    Thanks,
    Dr. Plug

    • This reply was modified 1 year, 9 months ago by  Dr. Plug.
    #6707 Reply

    Santi

    Thanks, it worked 🙂
    Got another one which might for sure be something dumb, but better ask 😀

    Some pdfs are taking time to render and open, and I wanted to do it in an asynctask so app doesnt freeze. Does it support running aReader.openData(…) in asynctask?

    Code of current fragment is here: http://puu.sh/ga9xo/d57b801369.txt

    Still, its not crashing, nor seeing the view (but if i remove the asynctask and do all in onCreate it works fine, but freezing at start some secs)

    Million thanks ! 🙂

    #6708 Reply

    Santi

    http://puu.sh/ga9Ix/7e91aba954.txt Sorry, this is the code ! (Forgot to add load.execute();)

    #6713 Reply

    Dr. Plug
    Moderator

    Hello Santi,
    We are checking your code but as you know, you have not included the layout (fragment_origami_view_pdf) and resource file.
    It will be more convenient for us to check your code if you share layouts and resources files.

    Thank you
    Dr. Plug

    #6772 Reply

    Santi

    Sure ! Sorry for delay !
    http://puu.sh/gfMF0/4d826a0e02.txt
    Here it is!

    #6786 Reply

    Dr. Plug
    Moderator

    Hi Santi,

    Thanks for your feedback. I have tried testing with your Fragment file, and xml file, like below.

    MainActivity.java

    activity_main.xml

    But I could not found your problem. Actually, there not be a problem using the AsyncTask because ‘openData’ method is adapted to work with the AsyncTask. Perhaps there is a problem somewhere else.

    Thank you,
    Dr. Plug

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: epapyrus.plugpdf doesnt exist
Your information: