But how can I do it directly in the project? I know I can use Proguard as and standalone app, but I think that it doesn't work in Android Library Projects...
On Sunday, July 21, 2013 8:52:17 AM UTC+2, Piren wrote: > > I haven't tried to obfuscate a jar file after it is made, but you > can definitely obfuscate it when you build the library project. Just > remember to put up rules as to not obfuscate all the public methods you'd > like to use as the API for the library (which i guess you forgot). > > On Friday, July 19, 2013 6:11:04 PM UTC+3, Felix Garcia Lainez wrote: >> >> Hi, >> >> The case is that we have an Android Library Project that generates a jar >> files, being included this jar file as input library of other Android >> Library project that we distribute to several clients. The case is that I >> would like to obfuscate the code of the first Library Project before >> sending to the clients, of course without breaking the behavior of the >> code. I have read that ProGuard obfuscation is done on the process of >> building .apk on Android applications, but didn't found a way to do the >> same on Android Library projects. >> >> I have tried the idea shown in the following links, achieving the >> obfuscate the .jar generated by the first library, but after that it >> doesn't link correctly with a test Android app. >> >> http://proguard.sourceforge.net/index.html#manual/examples.html >> http://proguard.sourceforge.net/index.html#manual/usage.html >> >> My question is if it possible to do what I want, what would be the best >> way, and how to do this. >> >> Thanks! >> > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

