I am trying to create pdf files using iText.
I included itextpdf-5.5.3.jar
into my project and following steps in this tutorial:
http://blog.mettletech.co/wp/blog/generate-pdf-file-in-android/
But when this code i getting following errors:
10-30 16:52:57.163: E/dalvikvm(28969): Could not find class 'com.itextpdf.awt.PdfPrinterGraphics2D', referenced from method com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphicsShapes
10-30 16:52:57.213: E/dalvikvm(28969): Could not find class 'java.awt.image.PixelGrabber', referenced from method com.itextpdf.text.Image.getInstance
10-30 16:52:57.223: E/dalvikvm(28969): Could not find class 'java.awt.image.BufferedImage', referenced from method com.itextpdf.text.Image.getInstance
I dont get any errors on simplier pdf but i am getting thesee errors while creating more complex pdfs including tables etc.
Can you give me a lead on this?