首页 > 系统 > Android > 正文

Android 混淆代码后Gson 解析为null

2019-11-07 23:52:56
字体:
来源:转载
供稿:网友

Bug记录:

##---------------Begin: PRoguard configuration for Gson -----------keepattributes Signature-keep class sun.misc.Unsafe { *; }#-keep class com.google.gson.stream.** { *; } //这个可以不加上-keep class com.google.gson.**{*;}-keep class xxx.xxxx.**{*;}##---------------End: proguard configuration for Gson ----------

最后一行,存放的是javabean的具体目录。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表