Android App Crashes When Minifyenabled Is True
I am using a multi-module app and the app crashes when minifyEnabled true in the installed module's build.gradle. Following is the deobfuscated stacktrace I retrieved from play con
Solution 1:
This happens when your app transform json to POJOs and you have minify enable. Minify change those POJOs making the transformation impossible (it will compile, but all your POJOs propierties will be null).
Keep those POJOs adding -keep class com.packagename.<path to pojos> {*; }
to your proguard-rules file.
Post a Comment for "Android App Crashes When Minifyenabled Is True"