I\'m trying to build a release apk with the proguard enabled. I\'m getting the error below. I will attach the full stacktrace below.
Unexpected error while e
This is probably a bug in ProGuard's optimization of enum types. You may be able to work around it by disabling this optimization:
-optimizations !class/unboxing/enum
If you can file a bug report or mail me details, I'll look into it.
(I am the developer of ProGuard)
Weird solution, but I've found a way to fix it. The exact section of the code that was causing the proguard issue was separated out into a different method and at the old location that method was called. This seems to have fixed the problems, even though I'm not sure how it solved it. It just seems more and more like a Proguard bug. It works for me so that is something that others can try if they ever run into this issue.