I just started a very simple project and tried to use both ButterKnife and Jack compiler, but it seems they do not cope with each other well.
Gradle plugin version: 2.2.0-alpha5
in my module build.gradle I added:
compile 'com.jakewharton:butterknife:8.2.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.2.1'
And the error message is:
Error:Execution failed for task ':app:transformJackWithJackForDebug'.
java.lang.AssertionError: java.lang.IllegalArgumentException
Did I miss something or it's just they are not compatible?
Version 8.3.0 has just recently been released with support for Jack.
compile 'com.jakewharton:butterknife:8.3.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.3.0'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With