There is a new tool chain for Android (experimental):
http://android-developers.blogspot.cz/2014/12/hello-world-meet-our-new-experimental.html
Field mTest is not initialized properly:
@InjectView(R.id.test) TextView mTest;
... when new tool chain is enabled (in build.gradle):
useJack = true
"Annotation processing is not supported."
now is supported and still not working
http://tools.android.com/tech-docs/jackandjill#TOC-Repackaging-support
It works now with the last version and by adding this as dependency:
annotationProcessor 'com.jakewharton:butterknife-compiler:8.0.1'
In order to use Butterknife 8.0.1
apt 'com.jakewharton:butterknife-compiler:8.0.1'
is required and apt isn't working with Jack. So, I still don't have a clue how to compile Butterknife with Jack
Use annotationProcessor instead of apt
On Fri, Jun 17, 2016, 2:50 AM YASH [email protected] wrote:
In order to use Butterknife 8.0.1
apt 'com.jakewharton:butterknife-compiler:8.0.1'
is required and apt isn't working with Jack. So, I still don't have a clue
how to compile Butterknife with Jack—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/207#issuecomment-226694004,
or mute the thread
https://github.com/notifications/unsubscribe/AAEEEVtDwn_RkbgPycJ4LQdLIg-ZdyGCks5qMkOXgaJpZM4DMJtd
.
Works like a charm.
I am getting the following error:
Error:(118, 0) Gradle DSL method not found: 'annotationProcessor()'
What should I change?
Thank you in advance.
Same Here. Which plugin or gradle version does contain this dsl? Google shows only this thread.
annotationProcessor keyword was implemented in Android plugin for gradle with version 2.2.0 or newer, such as 2.2.0-alpha5
sample as following,
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-alpha5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Most helpful comment
I am getting the following error:
Error:(118, 0) Gradle DSL method not found: 'annotationProcessor()'
What should I change?
Thank you in advance.