butterknife: Problem working with jack enabled
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?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 22 (8 by maintainers)
Commits related to this issue
- Try to fix butterknife See https://github.com/JakeWharton/butterknife/issues/673 — committed to geekarist/inbop by geekarist 8 years ago
Jack, as a project, is dead.
I tried to change the ButterKnife version to 8.1.0 and it works well, but 8.2.0 and 8.2.1 complain exceptions above.
The problem continues…
Filed an issue for jack https://code.google.com/p/android/issues/detail?id=218017
It is not related, but it’s not a ButterKnife problem either.
On Wed, Jul 13, 2016 at 1:58 PM Leonardo Ferrari notifications@github.com wrote: