Yes I understand... I understand that if for instance I pass an String "aaafddfffd" to a function call it will not be obfuscated by default, right?
On Monday, July 22, 2013 11:42:15 AM UTC+2, Ourida wrote: > > One obvious thing, you can't work with an obfuscated jar in your project > in dev phase. Because the developer who must use, let's say Android Library > Project obfuscated that contains a class named Class1, after obfuscation > its name will become another thing, so the developer won't be able to know > this API. > > Another thing, adding any jar to your android project and launching > obfuscation process, all those jars will be obfuscated. So, if an API is > needed to be obfuscated, it must not be referenced in proguard config. > > After doing this, you must test your android application. If reflexion is > used in jar that will completely become obfuscated, bad things will happen. > Hence, Classes referenced by reflexion must be keeped. > > Best regards. > > On Friday, July 19, 2013 3:11:04 PM UTC, 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.

