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 } }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2021-09-20
猜你喜欢
  • 2021-12-10
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-08-09
相关资源
相似解决方案