java.lang.IncompatibleClassChangeError: class com.google.auto.common.MoreTypes$1 has interface com.google.common.base.Equivalence as super class 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.MoreTypes.<clinit>(MoreTypes.java:71) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation$3.visitInt(SuperficialValidation.java:267) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation$3.visitInt(SuperficialValidation.java:199) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.code.Attribute$Constant.accept(Attribute.java:93) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation.validateAnnotationValue(SuperficialValidation.java:281) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation.validateAnnotationValues(SuperficialValidation.java:191)

GitHub | gzsword | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.IncompatibleClassChangeError: class com.google.auto.common.MoreTypes$1 has interface com.google.common.base.Equivalence as super class

    GitHub | 6 months ago | gzsword
    java.lang.IncompatibleClassChangeError: class com.google.auto.common.MoreTypes$1 has interface com.google.common.base.Equivalence as super class 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.MoreTypes.<clinit>(MoreTypes.java:71) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation$3.visitInt(SuperficialValidation.java:267) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation$3.visitInt(SuperficialValidation.java:199) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.code.Attribute$Constant.accept(Attribute.java:93) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation.validateAnnotationValue(SuperficialValidation.java:281) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation.validateAnnotationValues(SuperficialValidation.java:191)

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      class com.google.auto.common.MoreTypes$1 has interface com.google.common.base.Equivalence as super class 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.MoreTypes.<clinit>(MoreTypes.java:71) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation$3.visitInt(SuperficialValidation.java:267) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation$3.visitInt(SuperficialValidation.java:199) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.code.Attribute$Constant.accept(Attribute.java:93) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation.validateAnnotationValue(SuperficialValidation.java:281) 17:59:04.773 [ERROR] [org.gradle.BuildExceptionReporter] at com.google.auto.common.SuperficialValidation.validateAnnotationValues(SuperficialValidation.java:191)

      at com.google.auto.common.SuperficialValidation.validateAnnotation()
    2. Auto Common Libraries
      SuperficialValidation$1.visitVariable
      1. com.google.auto.common.SuperficialValidation.validateAnnotation(SuperficialValidation.java:181)
      2. com.google.auto.common.SuperficialValidation.validateAnnotations(SuperficialValidation.java:173)
      3. com.google.auto.common.SuperficialValidation.isValidBaseElement(SuperficialValidation.java:102)
      4. com.google.auto.common.SuperficialValidation.access$100(SuperficialValidation.java:48)
      5. com.google.auto.common.SuperficialValidation$1.visitVariable(SuperficialValidation.java:73)
      6. com.google.auto.common.SuperficialValidation$1.visitVariable(SuperficialValidation.java:59)
      6 frames
    3. Java Tools
      Symbol$VarSymbol.accept
      1. com.sun.tools.javac.code.Symbol$VarSymbol.accept(Symbol.java:1237)
      1 frame
    4. Auto Common Libraries
      SuperficialValidation.validateElement
      1. com.google.auto.common.SuperficialValidation.validateElement(SuperficialValidation.java:98)
      1 frame
    5. butterknife.compiler
      ButterKnifeProcessor.process
      1. butterknife.compiler.ButterKnifeProcessor.findAndParseTargets(ButterKnifeProcessor.java:262)
      2. butterknife.compiler.ButterKnifeProcessor.process(ButterKnifeProcessor.java:157)
      2 frames
    6. Java Tools
      JavacProcessingEnvironment.discoverAndRunProcs
      1. com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
      2. com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
      2 frames