As we can configure Proguard settings in progaurd.cfg, is there a way to configure it in Android Studio? And if so, how?
The proguard-rules.pro file is where you can add custom ProGuard rules. By default, this file is located at the root of the module (next to the build. gradle file).
Android Studio adds the proguard-rules.pro file at the root of the module, so you can also easily add custom ProGuard rules specific to the current module. You can also add ProGuard files to the getDefaultProguardFile directive for all release builds or as part of the productFlavor settings in the build.
If you're using the Android Studio build system (not Gradle), these are the steps to take:
To actually modify the ProGuard settings themselves in Android Studio, you might consider adding the proguard configuration file into the project. You can edit it as you would any other text file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With