I am trying to export a pdf file containing a plot. I have achieved this in Java using the JFreeChart library and iText, using this.
Now I am trying to do the same in Android. But since android does not support the awt classes, I am facing issues. Specifically
java.awt.Graphics2D;
java.awt.geom.Rectangle2D;
Since the awt classes will not be used for any UI rendering, is it possible to include them some how? Tried adding the jar file, but the classes remain unresolved.