I tried to build and run my application with minifyEnabled and shrinkResources set to true. However, it kept on crashing and upon closer inspection, it was crashing on some of my classes and that I needed to keep these classes.
Why do I need to keep certain classes from obfuscation and not the other classes? Just need an idea of why this happens. Thank you!
Edit: The classes that cannot be minified were Serialized Objects