Hi,
Did you fixed it ?. I got same kind of error while using GP services 8.4.
check the below details.
Proguard:-
# vungle
-keep class com.vungle.** { public *; }
-keep class javax.inject.*
-keepattributes Signature
-keep class dagger.*
Messages:-
Error:Uncaught translation error: com.android.dx.cf.code.SimException:
com.android.dx.rop.cst.CstMethodRef cannot be cast to
com.android.dx.rop.cst.CstInterfaceMethodRef
Possible causes for this unexpected error include:<ul><li>Gradle's
dependency cache may be corrupt (this sometimes occurs after a network
connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires
network)</a></li><li>The state of a Gradle build process (daemon) may be
corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires
restart)</a></li><li>Your project may be using a third-party plugin which
is not compatible with the other plugins in the project or the version of
Gradle requested by the project.</li></ul>In the case of corrupt Gradle
processes, you can also try closing the IDE and then killing all Java
processes.
On Friday, March 11, 2016 at 12:15:55 PM UTC+5:30, Anjali Garg wrote:
>
> HI,
>
> I upgraded google play services 8.3 to 8.4, as vungle does not work with
> google play services 8.3.
>
> Now it has compliation errors.
>
> Below is the error.
> Uncaught translation error: com.android.dx.cf.code.SimException:
> com.android.dx.rop.cst.CstMethodRef cannot be cast to
> com.android.dx.rop.cst.CstInterfaceMethodRef
>
> below are the things I have put in build.gradle
>
> android {
> compileSdkVersion 23
> buildToolsVersion '23.0.0'
>
> defaultConfig {
> applicationId "com.app.uento"
> useLibrary 'org.apache.http.legacy'
> minSdkVersion 14
> multiDexEnabled true
> targetSdkVersion 22
> versionCode 36
> versionName "4.6"
>
> as google play services 8.4 does not work with version 22, I had to change
> colpike and buildtools version to 23, before it was 22.
> But I do not want to target to 23 android sdk version.
>
> Please help me to solve this issue.
>
>
> Thanks,
> Anjali
>
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/166c216d-7cb0-4e96-8219-8eed45561251%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.