Reputation: 6452
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 that I should be keeping that I'm missing?
proguard config: https://gist.github.com/hanleyhansen/99fc07807950bae8e4f5
Unobfuscated log: https://gist.github.com/hanleyhansen/6cba7fc941a79d85802f
onSuccess(): https://gist.github.com/hanleyhansen/e7a4916c42d3ca065c99
Upvotes: 7
Views: 6146
Reputation: 6452
I found the offending code. I changed my Proguard.cfg to match the following:
And now everything is working!
Upvotes: 6
Reputation: 24012
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.
Upvotes: 3