pdf-builder icon indicating copy to clipboard operation
pdf-builder copied to clipboard

Java.Awt

Open cleawrence opened this issue 4 years ago • 1 comments

Hi, i downloaded the lib but cant not find java.awt. I m on android studio.

cleawrence avatar Apr 17 '20 20:04 cleawrence

The project is built for the JVM, and Android VM is slightly different. Android does not have the java.awt package, which is required by the Apache pdfbox dependency.

From the dependency perspective, you could try a few things:

  • replace apache pdfbox with something equivalent https://github.com/WirecardMobileServices/pdfbox-android-lite
  • using a java.awt reimplemention https://code.google.com/archive/p/awt-android-compat/

The best solution would likely be for pdf-builder to support Android by using another PDF library than pdfbox.

timrs2998 avatar Apr 17 '20 21:04 timrs2998