Annotation processors must be explicitly declared now

后端 未结 5 2079
[愿得一人]
[愿得一人] 2021-02-01 14:16
Error:Execution failed for task \':laMusique2May2016:javaPreCompileRelease\'.
> Annotation processors must be explicitly declared now.  The following dependencies on          


        
5条回答
  •  自闭症患者
    2021-02-01 15:05

    You should explicitly add annotation processors in gradle. Putting the following in your gradle dependencies should fix it:

    annotationProcessor 'com.google.auto.value:auto-value:1.1'
    

    However, as others have already mentioned, you should probably figure out which of your existing dependencies was using auto-value to assert whether or not you really need it. Annotation processors ultimately slow down your build time so don't include it if it's unnecessary.

提交回复
热议问题