Proguard strips out Generics, even for classes that do not have names obfuscated. This might interfere with frameworks that makes uses reflection relating to Generics e.g. Gson.
To preserve Generics, add this to the proguard config file:
-keepattributes Signature
Along with preserving of Annotations
-keepattributes Signature,*Annotation*
Along with preserving of Annotations
-keepattributes Signature,*Annotation*
No comments:
Post a Comment