square / dagger

A fast dependency injector for Android and Java.

Home Page:https://square.github.io/dagger/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

class dagger.shaded.auto.common.MoreTypes$1 has interface com.google.common.base.Equivalence as super class

MakerYan opened this issue · comments

Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

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

Dagger 1's compiler does not shade Guava. You probably want https://github.com/google/dagger.

@JakeWharton This is about auto-common, not Guava; but that doesn't change your answer: Dagger 1 doesn't use auto-common.