使用apt导入时报警告:Warning:Using incompatible plugins for the annotation processing: android-apt. This may result in an unexpected behavior.

使用apt来导入butterknife和dagger的时候,会报警告   (在引用databinding的时候会报,其他不会)
Warning:Using incompatible plugins for the annotation processing: android-apt. This may result in an unexpected behavior.
解决方案:
1、apt 'com.jakewharton:butterknife-compiler:8.2.0' 改为=》annotationProcessor 'com.jakewharton:butterknife-compiler:8.2.0'
2、删除:project build.gradle 中的
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'   添加apt的操作

3、删除 app build.gradle 中的:
apply plugin: 'com.neenbedankt.android-apt'

以上三步完成后同步就ok了

原文:https://stackoverflow.com/questions/42632662/android-studio-warning-using-incompatible-plugins-for-the-annotation-processing
最下面的回答就是这三步。
原文地址:https://www.cnblogs.com/epmouse/p/7063266.html