Annotation processors must be explicitly declared now

后端 未结 5 2028
[愿得一人]
[愿得一人] 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 14:55

    Even i had the same problem and finally i solved my problem by adding this to app level gradle file

    android{
    ....
        defaultConfig{
    ....
        javaCompileOptions {
            annotationProcessorOptions {
                includeCompileClasspath true
            }
        }
    }
    buildTypes {
    ...
    }
    

    hope its solved someone's problem

提交回复
热议问题