Annotation processors must be explicitly declared now.  The following dependencies on the compile classpath are found to contain annotation processor.  Please add them to the annotationProcessor configuration.   - butterknife-7.0.1.jar

解决方法:

Annotation processors must be explicitly declared now. The following dependencies on the compile cl

如上图,在defaultConfig中添加配置即可:

//添加如下配置就OK了
        javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } }

 

相关文章: