I upgrade the version to 8.4.0 like this:
dependencies {
compile 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
}
Could not find method annotationProcessor() for arguments [com.jakewharton:butterknife-compiler:8.4.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
But I got the error as the above , what's the problem?
Are you using version 2.2.0 or newer of the Android Gradle plugin?
On Thu, Dec 29, 2016, 10:14 AM isanwenyu notifications@github.com wrote:
I upgrade the version to 8.4.0 like this:
dependencies {
compile 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
}But I got the error as the title , what's the problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/834, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAEEEcSPbqyldWb-pozUvHPjsk6lbOmhks5rM85ggaJpZM4LXpSG
.
I am satisfied with the same contingency issue
Error:Gradle DSL method not found: 'annotationProcessor()'
It's my fault!
After upgraded the version of gradle plugin to 2.2.3, my project build successfully. Thks.
I check it out, 'annotationProcessor()' was added in version 2.2.0 or newer of the Android Gradle plugin.
Great. Thanks for replying.
Most helpful comment
It's my fault!
After upgraded the version of gradle plugin to 2.2.3, my project build successfully. Thks.
I check it out, 'annotationProcessor()' was added in version 2.2.0 or newer of the Android Gradle plugin.