http://blog.csdn.net/qq_31370269/article/details/50752445 java8 new features added
http://blog.csdn.net/u011781521/article/details/52702482 Solve new problems after adding
1. There is also a configuration way to refer to Java 8 lambda usage
2, plus butterknife 8.0.1 The above picture has dependencies{} plus compile
1, add
apply plugin: 'com.neenbedankt.android-apt'
dependencies {
compile 'com.jakewharton:butterknife:8.0.1'
apt 'com.jakewharton:butterknife-compiler:8.0.1'
}
2, add class
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'