Yes, i tried : -keep class org.spongycastle.**
or -keep class org.** or -keep class ** I have always : Warning: com.itextpdf.text.pdf.security.TSAInfoBouncyCastle: can't find referenc ed class org.spongycastle.tsp.TimeStampTokenInfo Warning: there were 956 unresolved references to classes or interfaces. You may need to add missing library jars or update their versions. If your code works fine without the missing classes, you can suppress the warnings with '-dontwarn' options. (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolved class) Warning: there were 14 unresolved references to library class members. You probably need to update the library versions. (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolved libraryclassmember) My IDE is android studio with gradle, in my gradle config file i have : buildTypes { release { runProguard true proguardFile file('proguard-rules.txt') } } And in my proguard-rules.txt file i have : -keep class org.spongycastle.** Thanks ----- Mail original ----- De: "Michael Demey" <michael.de...@itextpdf.com> À: "Post all your questions about iText here" <itext-questions@lists.sourceforge.net> Envoyé: Vendredi 24 Janvier 2014 09:37:37 Objet: Re: [iText-questions] Proguard with android and itext Hi, Have you tried configuring proguard with the following: -keep class org.spongycastle.** Kind regards, Michaël. florian.gir...@free.fr schreef op 24/01/2014 9:11: > Yes, in my proguard config file i try ; > > -keep public class * > > I think with this, all class are not encoded. > > Which proguard command can i put in my config file for itext? > > Thanks a lot > > > > > ----- Mail original ----- > De: "iText mailing list" <i...@1t3xt.info> > À: "Post all your questions about iText here" > <itext-questions@lists.sourceforge.net> > Envoyé: Jeudi 23 Janvier 2014 20:38:31 > Objet: Re: [iText-questions] Proguard with android and itext > > On 1/23/2014 4:58 PM, florian.gir...@free.fr wrote: >> Dear all, >> I try to use proguard on my android project with itext. >> >> It isn't worked correctly, there are many warnings, e.g : >> >> Warning: com.itextpdf.text.pdf.security.TSAInfoBouncyCastle: can't find >> referenced class org.spongycastle.tsp.TimeStampTokenInfo.... >> >> Can i use proguard with itext? > > > Yes, but as always, you need to make sure that classes that are called > using reflection are also taken into account. > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php