App Crashing With Proguard Enabled
My app runs perfectly without proguard enabled but when I enable it the app crashes right away. I have tried many combinations in the configuration to no avail. Is there something
Solution 1:
I found the offending code. I changed my Proguard.cfg to match the following:
And now everything is working!
Solution 2:
Usually proguard removes few classes if they are not explicitly set as
-keepclassmembers ....
But such errors are shown as classNotFound
, NoSuchMethodException
etc..,
Anyways decode the log cat you got using this and check what actually caused the NPE.
Post a Comment for "App Crashing With Proguard Enabled"