Instead of using runProguard
in your gradle file, try using minifyEnabled
. This should fix the issue. runProguard
is deprecated and soon be stop working.
EDIT
To use minifyEnabled
, gradle should be updated to version 2.2 or above.
More Related Contents:
- Android Gradle plugin 0.7.0: “duplicate files during packaging of APK”
- Error:(1, 0) Plugin with id ‘com.android.application’ not found
- Android Studio keeps refusing to resolve com.android.support:appcompat-v7:29.0.1
- “No cached version… available for offline mode.”
- Android Material and appcompat Manifest merger failed
- The number of method references in a .dex file cannot exceed 64k API 17
- “Gradle Version 2.10 is required.” Error
- Android Studio Error “Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8”
- Android dependency has different version for the compile and runtime
- Gradle build tool cannot find play-services-tasks.aar? Why?
- How to get current flavor in gradle
- error: resource android:attr/fontVariationSettings not found
- Cannot enable Gradle’s offline mode on Android Studio 3.6
- Autoincrement VersionCode with gradle extra properties
- How to create an Android Library Jar with gradle without publicly revealing source code?
- Exception : AAPT2 error: check logs for details
- Android Studio: Gradle: error: cannot find symbol variable
- Conflict with dependency ‘com.android.support:support-annotations’. Resolved versions for app (23.1.0) and test app (23.0.1) differ
- Android support multidex library implementation
- No cached version of gradle
- Android Studio Gradle DSL method not found: ‘android()’ — Error(17,0)
- Dex error On Android Studio 3.0 Beta4
- Android gradle: buildtoolsVersion vs compileSdkVersion
- Gradle error upgrading to Android Studio 3.0 Beta 1
- Android Studio: Re-download dependencies and sync project
- Is there a safe way to manage API keys?
- Could not find property ‘outputFile’ on com.android.build.gradle.internal.api.ApplicationVariantImpl
- Why Android Studio doesn’t allow me to create Java Classes?
- Gradle DSL method not found: ‘implementation()’
- compileReleaseKotlin fails with java.lang.ClassNotFoundException: com.sun.tools.javac.util.Context