After Android Studio was updated to 3.0, it was found that the above configuration was not available, and the solution was recorded here
First, the build.gradle under the project classpath 'com.neenbedankt.gradle.plugins: android-apt: 1.8' deleted
the module following the introduction of the top plug build.gradle deleted, whether it is in the following two Delete any of the
apply plugin:'com.neenbedankt.android-apt'
apply plugin:'android-apt
's dependency in build.gradle under the module is changed to
// butterknife 组件注入
implementation 'com.jakewharton:butterknife:8.6.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'