Gson: if I use the gson, how can I write the proguard-rules.pro? or nothing to do?

Created on 1 Dec 2015  路  1Comment  路  Source: google/gson

if I add the following proguard content , It will work well?

-keepattributes Signature
-keepattributes _Annotation_

-keep class sun.misc.Unsafe { _; }
-keep class com.google.gson.stream._* { *; }

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings