I'm trying to get ProGuard working on a current Android project using Gradle. I continue to get the following error and cannot figure out a solution. Any direction or suggestions would be helpful.
-Execution failed for task ':openclass:crashlyticsUploadStoredDeobsDebug'.
-[org.gradle.BuildExceptionReporter] > java.lang.Error: Classloader conflict in your Gradle environment, please verify you are running the latest Android plugin.
I then print out the stack trace and info and it appears I'm getting another exception.
- [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NoSuchMethodError: org.apache.http.entity.mime.content.StringBody.<init>(Ljava/lang/String;Lorg/apache/http/entity/ContentType;)V
I have compile fileTree(dir: 'libs', include: '*.jar') in my build.gradle along with the correct dependencies to crashlytics in the build.gradle. Any thoughts?
Do you actually get a complete stack trace? The NoSuchMethodError suggests the presence of an incorrect or conflicting version of the Apache http library, which is not added or used by ProGuard at all. Crashlytics maybe?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.