How to not obfuscate specific Android files or folder

To stop specific files or directories from being obfuscated, add them to the proguard-rules.pro file associated with your project.

Oscar de la Hera Gomez
Written by Oscar de la Hera Gomez
First published on 06/14/2023 at 16:02
Last Updated on 06/14/2023 at 16:31
A flower that represents Android Studio with the text "Stop file or directory from being obfuscated" beneath it.

To stop specific files or directories from being obfuscated, add them to the proguard-rules.pro file associated with your project.

SubscribeDownload Open Source Kotlin Starter Project
A screenshot of Android Studio with the proguard-rule.pro file open. Highlighted is a demonstration of how we stop the obfuscation of our language directory to ensure that the JSON data class works after being released.

Add paths to your app level pro guard-rules.pro to stop files or directories from being obfuscated.

Learn More

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
SubscribeContact UsVisit our BlogView our ServicesView our Work

Partner with us

We would love to get to know you and see how we can help your organization with its goals and needs.
Let's Talk

Stay Informed

Get occasional updates about our company, research, and product launches.
Subscribe