Itext Merge Pdf Error In Android
The code works well in Java application. But I can't compile when I transfer to Android. Error message: 'The type java.awt.geom.AffineTransform cannot be resolved. It is indirectly
Solution 1:
Basically, no java.awt.*
packages are supported by Android, the only package from awt included in Android is java.awt.font
.
Reference: Android packages available
Solution 2:
I upvoted the previous answer, but I want to add that user614454 is using the Java version of iText instead of the official Android port. The official Android port can be found here: http://itextsupport.com/download/android.html
In this official Android port all java.awt classes that are needed by iText are replaced with light-weight alternatives.
Note that I'm the original author of iText. I removed a reference to DroidText because that's an Android port of an iText version that shouldn't be used anymore: http://lowagie.com/itext2
Post a Comment for "Itext Merge Pdf Error In Android"