Butterknife: ClassCastException: Symbol$VarSymbol …

The other day I decided to update my Butterknife from 6.x.x to 7.x.x. Immediately I noticed some refactoring (e.g. @InjectView became @Bind). I updated my code and got build (from Android Studio’s “make”). Unfortunately, when I tried to test it, I got: java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$VarSymbol cannot be cast to javax.lang.model.element.ExecutableElement from Dagger (yes, I’m still using […]

Scroll to top