Open zuhriddinjon opened 2 years ago
@zuhriddinjon any solutions?
@zuhriddinjon @hamza-mughal5593 since you have minifyEnabled true
, that can be caused because code obfuscation changed the field names. I've experienced the same field getting different obfuscated names in subsequent builds.
If you notice how the data is stored in the table file, you'll see that the field names are written there. Thus an unexpected change in the field name will make it impossible to deserialize data.
Besides the rule indicated here https://github.com/pilgr/Paper#proguard-config , I would recommend also considering keeping enums unless your data models don't use them :
-keep enum your.app.data.model.** { *; }
Update: I've just submitted this PR #204 with all my suggested proguard rules.
I have found a solution. It was the old version of Paper that I used. Once updated it has been solved. Thanks for your attention
minifyEnabled true shrinkResources true