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 support #2

Open
akolonin opened this issue Mar 24, 2020 · 0 comments
Open

PDF support #2

akolonin opened this issue Mar 24, 2020 · 0 comments
Assignees
Labels
todo Needs to be done

Comments

@akolonin
Copy link
Member

akolonin commented Mar 24, 2020

PDFs are not readable with current Aigents codebase:
Caused by: java.lang.ClassNotFoundException: Didn't find class "java.awt.Point" on path
Rejecting re-init on previously-failed class java.lang.Class<org.apache.pdfbox.pdmodel.PDDocument>: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/Point;

Attempt to link rt.jar:
dependencies {
implementation files('/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home/jre/lib/rt.jar')
cause conflict: "Error while merging dex archives: "

Options:
A) Use third-party awt.jar
https://jar-download.com/?search_box=awt
B) Figure out which rt.jar to link
https://stackoverflow.com/questions/4416059/how-to-download-some-java-jar-library-files
C) Replace PDF reader for Android:
https://stackoverflow.com/questions/23380415/android-and-apache-pdfbox

@akolonin akolonin self-assigned this Mar 24, 2020
@akolonin akolonin added progress In progress todo Needs to be done and removed progress In progress labels Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo Needs to be done
Projects
None yet
Development

No branches or pull requests

1 participant