I Need Help with ProGuard Configuration for Android App

Hello everyone, :smiling_face_with_three_hearts:

I need some guidance with ProGuard configuration for my Android app. As a newcomer to this tool, I am encountering difficulties in obfuscating my app while maintaining its functionality.

My app relies on several third-party libraries, and unfortunately, enabling ProGuard is causing the app to crash upon launch. I am eager to learn how to effectively configure ProGuard rules to prevent this issue.

I would be grateful for any guidance on best practices and common pitfalls to avoid during the configuration process. Specifically, I am interested in preserving essential classes and methods from obfuscation.

I also check this: https://community.guardsquare.com/t/how-to-configure-proguard-with-springmvcmendix But I have not found any solution. Could anyone suggest the best solution for this. And your help will be really grateful for me.

Thanks in advance! :innocent:

Respected community member :blush:

Hello,

Thanks for reaching out! One of the first things that I would recommend to help establish a working configuration would be to use the ProGuard Playground: https://playground.proguard.com/, which allows you to test and modify your configuration to ensure that the application has ProGuard applied as you expected.

In addition, we have an in depth manual which can help to guide through some of the processes: ProGuard Manual: Usage | Guardsquare

Including a section with a large number of examples which can help clarify certain topics: ProGuard Manual: Examples | Guardsquare

Best,
Jared

1 Like