Is OpenPDB library is fully supported on Android?
ctoabidmaqbool1 opened this issue · comments
Hi! Devs, Is OpenPDF library is fully supported on Android too?
Before choosing OpenPDF I was using iText PDF 5.x without any issue on Android, e.g.
Java, Javafx 1.8 Project with old Gluon Mobile plugin project
But OpenPDF is not be used on Andoird becasue it's dependent upon java.awt
package e.g. java.awt.Color.
Okey, I think, OpenPdf have alrady provided the solution here too!
https://github.com/LibrePDF/OpenPDF/wiki/Android-support
let me check it!
I using at android its work well at debug application
butt
at release application i facing error
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Iterator java.util.HashSet.iterator()' on a null object reference at javax.imageio.spi.ServiceRegistry$LookupProvidersIterator.<init>(ServiceRegistry.java:595) at javax.imageio.spi.ServiceRegistry.lookupProviders(ServiceRegistry.java:54) at javax.imageio.spi.ServiceRegistry.lookupProviders(ServiceRegistry.java:58) at javax.imageio.spi.IIORegistry$1.run(IIORegistry.java:94) at java.security.AccessController.doPrivileged(AccessController.java:46) at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:90) at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:57) at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:80) at javax.imageio.ImageIO.<clinit>(ImageIO.java:50) at com.lowagie.text.ImageLoader.getPngImage(ImageLoader.java:75)
until now i not have the solution