
(We recommend removing any ProGuard configuration rules related to any of these frameworks.If KDoctor diagnoses any problems while checking your environment, review the output for issues and possible solutions:įix any failed checks ( ). DexGuard includes optimized configuration for popular frameworks such as Crashlytics, Firebase, Dagger, okHttp etc. Browse to the studio folder in your DexGuard download and double-click to install. To install it, go to your Android Studio Preferences > Plugins and click “Install plugin from disk…”. DexGuard comes with a plugin for Android studio that performs auto-completion in configuration files. You can re-use your existing ProGuard configuration and add rules for the advanced functionality DexGuard provides. DexGuard is fully compatible with ProGuard. The actual configuration will depend on your code base and on your security requirements.ĭexGuard provides the following features to help you out during this phase: The DexGuard plugin takes over all of these functionalities. This includes minifyenabled, multidexenabled and shrinkresources.

It’s defined as a flatDir:įlatDir Īfter these four elements have been added to your adle file, you need to remove all ProGuard-related Gradle options from your buildtype configurations. The path to the dexguard.jar file you downloaded from your account.Once that is done, you need to add four elements to your adle file to integrate DexGuard into your project.

Don't forget to place the license file in your home directory (DexGuard can be configured to use other locations). Integrating DexGuard in your Android projectįirst, you have to download DexGuard and your license file from your dashboard on our website. Adding it to your project is easy and allows for a transparent integration with your build. DexGuard comes with its own Android Studio plugin that is continuously kept up-to-date. Setting up DexGuard in Android Studio is straightforward.
