avast / android-butterknife-zelezny

Android Studio plug-in for generating ButterKnife injections from selected layout XML.
Apache License 2.0
3.38k stars 413 forks source link

sometimes it doesn't work with ConstraintLayout #159

Open jianlin00000 opened 5 years ago

jianlin00000 commented 5 years ago

I'm trying to use both contraint library and butterknife like that: implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

When I do that operation "Generate ButterKnife Injections" with the layout ,it doesn't work and there is no tips or logs. But when I do with the same operation which layout doesn't use ConstraintLayout it works. I can't find the problem,please help.