Based on ButterKnife lib, I upgrade to new version 8.5.1. I used
compile 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
But it warns me in my Android Studio 2.3. And ButterKnife doesn't work(cannot bind view).
Warning:Using incompatible plugins for the annotation processing: android-apt. This may result in an unexpected behavior.
I change annotationProcessor to apt (I had plugin apply plugin: 'com.neenbedankt.android-apt'
in my gradle) and it works as old version without warning (I used apt for old version 8.4.0)
compile 'com.jakewharton:butterknife:8.5.1'
apt 'com.jakewharton:butterknife-compiler:8.5.1'
I think Android Studio 2.3 is incomatible with Annottaion processing. I searched and found to enable Annotation Processors in Android Studio 2.2 but cannot find in Android Studio 2.3
Settings > Build, Execution, Deployment > Compiler > Annotation Processors
Anyone can explain this problem? Thanks!