New Blog! Configuring ProGuard, an Easy Step-by-Step Tutorial

As an active ProGuard user or someone interested in ProGuard, you’ve probably already referenced the manual and tried to optimize your use of the tool. Here, we’ve heard increasing interest for a more practical guide on applying ProGuard on your apps, and doing so in an optimized manner. We listened, and are proud to introduce our newest blog post, Configuring ProGuard, an Easy Step-by-Step Tutorial, where you can find great tools, practices, and more.

At Guardsquare, we took this request a step further and applied best practices to a real-world application, the DuckDuckGo app. I will take you through his process for configuring ProGuard, as well as some of the tools and practices he used to make the process easier.

The blog post covers the following topics:

  • How to enable ProGuard in the Android project
  • Dealing with missing class references
  • Using the -addconfigurationdebugging option to aid with debugging runtime issues
  • Leveraging the ProGuard playground to efficiently write keep rules
  • Using best practices to clean up and optimize the configuration
  • The achieved results by running ProGuard on the DuckDuckGo app

Looking for more? You’re in the right place! Our team of ProGuard experts are here to assist. Or, feel free to leave a comment below about Laurent’s ProGuard experience with DuckDuckGo.

2 Likes