Butterknife: android studio 2.4 does not suppot annotationProcessor?

Created on 22 Mar 2017  Â·  9Comments  Â·  Source: JakeWharton/butterknife

Error:Execution failed for task ':member:javaPreCompileRelease'.

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.

Most helpful comment

@freecsdn Edit build.gradle file like this:
image

All 9 comments

Use the latest version of the library to solve this problem. Instructions are in the README.

@freecsdn Edit build.gradle file like this:
image

That is not needed

@BoxResin What developer posts code as an image! Who does that!

@brinkkemper I'm sorry.

javaCompileOptions {
    annotationProcessorOptions {
        includeCompileClasspath = true
    }
}

tysm u save my life bro

na

hey friend .. thank you for your help ã… _ã… 

@BoxResin What developer posts code as an image! Who does that!

i do

Was this page helpful?
0 / 5 - 0 ratings