

Solution : Manually add googleappid to the strings.xml file as told here. The issue could be due to instant app being enabled. Step 2: Selecting desired Gradle version. Then just click on Build, Execution, Deployment Tab Build Tools Gradle Use default Gradle wrapper (recommended) option.

Override the default version of ProGuard with the most recent one in your main build. You need to edit the Android Plugin Version to any of the closest in above versions. And // ADD THIS AT THE BOTTOM apply plugin: -services from app/adle. Step 1: Open Android Studio and navigate to File Settings. If you have an Android Gradle project that uses such an AGP version, you can enable ProGuard instead of the default R8 obfuscator as follows:ĭisable R8 in your gradle.properties: android.enableR8=false ProGuard is integrated with older versions of the Android Gradle plugin. AGP Integrated ProGuard (AGP version <7) ¶

The example android-plugin has a small working Android project using the ProGuard Gradle Plugin. ConsumerRuleFilter("groupName:moduleName", "anotherGroupName:anotherModuleName")
