Using Proguard and R8 for optimizing Android apps

Bianca Dragomir
9 min readMay 26

Providing a great user experience starts with the way we write our code. Using clean code techniques and avoiding unnecessary dependencies are absolute musts if we want to minimize the noise in our codebase.

However, we might sometimes miss some classes or some resources that end up going unused. Not to mention that when we add libraries to our projects, we often only make use of about ten percent of what they have to offer.

All of these will add up — and in the end, they result in a large bundle that might even…