使用proguard

时间:2019-02-26 07:30:35

标签: java android gson proguard dexguard

警告:类'com.google.gson.internal.bind.ReflectiveTypeAdapterFactory'正在调用类的Class.getDeclaredFields。

启用proguard后发现以下一些问题:

  1. 嵌套的静态类为空。
  2. 类中的自定义对象列表为空

已经提到了以下错误,但是没有运气:

Proguard issue while using GSON Using GSON with proguard enabled

0 个答案:

没有答案