Yes. -keep prevent just before remove class/method, but not before 
obfuscation.
If you wan to keep also the names (for reflection access, serialization, 
etc) you must to use -keepnames

Dne pondělí 23. května 2016 18:06:57 UTC+2 Michal Bendowski napsal(a):
>
> @Keep is recognized by "-keep" rules in the default ProGuard files, which 
> means the names will be preserved as well, right?
>
> Michal
>
> On Friday, May 20, 2016 at 2:56:02 PM UTC+1, Tomáš Procházka wrote:
>>
>> @Keep annotation is very usefull, you mentioned it on the I/O as new 
>> think bat id exist long time already.
>> Bud I think that sometimes keep the method/class/field is not enough.
>> Sometimes is also important keep the name of the method/class/field. 
>> O found @KeepName annotation, but in the com.google.android.gms.common.
>> annotation package, so I think that it is not supported now by build 
>> plugin.
>> It would be very useful to add this also to the support library.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to