Double check all dependencies in your project. Here are the download instructions from the readme file. Set up the build.gradle project at the project level to enable the android-apt plugin:
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } }
Then apply the โandroid-aptโ plugin in your modular build.gradle level and add Butter Knife dependencies:
apply plugin: 'android-apt' android { ... } dependencies { compile 'com.jakewharton:butterknife:8.2.1' apt 'com.jakewharton:butterknife-compiler:8.2.1' }
Note. If you are using the new Jack compiler with version 2.2.0 or later, you do not need the "android-apt" plugin and instead of apt you can use annotationProcessor when declaring compiler dependencies.
source share