My code works perfectly without proguard, but GSON doesn\'t work when proguard is enabled.
This is the part of code where it doesn\'t works
JSONArray
You need to exclude obfuscating of your model classes like below where I excluded all model classes in package in.intellicode.webservices.models
-keep class in.intellicode.webservices.models.** { *; }
-keep class in.intellicode.models.** { *; }
-keep class in.intellicode.events.*{ *; }
-keepattributes Signature
-keepattributes *Annotation*
-keep class sun.misc.Unsafe { *; }