Just add to the project’s proguard-rules:
-keep public class com.google.android.gms.**
-dontwarn com.google.android.gms.**
More Related Contents:
- DexIndexOverflowException Only When Running Tests
- How to change the proguard mapping file name in gradle for Android project
- Gradle failed to build when proguard is activated
- How to include a proguard configuration in my Android library (AAR)
- Can the Android layout folder contain subfolders?
- Using Build Flavors – Structuring source folders and build.gradle correctly
- Android Studio Gradle Configuration with name ‘default’ not found
- gradle – library duplicates in dependencies
- Compile with Proguard gives SimException: “local variable type mismatch”
- gradle build fails on lint task
- How to autoincrement versionCode in Android Gradle
- Adding local .aar files to my gradle build
- How to get release build apk file using proguard
- Proguard ignores config file of library
- Unable to import Eclipse project to Android Studio
- Android Studio Run/Debug configuration error: Module not specified
- add ‘tools:replace=”Android:value”‘ to element at AndroidManifest
- Add GitHub library as dependency to Android Studio project
- Stuck with Gradle Build Running
- How to apply plugin to only one flavor in gradle?
- Android XML: RuntimeException: Failed to resolve attribute at index 6
- How to provide different Android app icons for different gradle buildTypes?
- Signing product flavors with gradle
- How to set up gradle and android studio to do release build?
- Confused about testCompile and androidTestCompile in Android Gradle
- Gradle not including dependencies in published pom.xml
- Android Gradle DexException: Multiple dex files define Lorg/hamcrest/Description
- After update android studio could not create parent directory for lock file
- Android Gradle build with sub projects
- Build variants in Gradle for a Library Project in Android