Gson parsing on android with proguard

前端 未结 1 1398
暗喜
暗喜 2021-01-17 02:02

I only have a parsing problem with Gson when I use proguard. In debug mode and release mode without proguard, everything work fine.

This is my json string :

相关标签:
1条回答
  • 2021-01-17 02:45

    As darwin commented, adding the @Keep annotation to my POJOs classes fixed the issue

    0 讨论(0)
提交回复
热议问题