问题:项目编译的过程中出现warning警告,但是不影响项目正常运行
[kapt] Incremental annotation processing requested, but support is disabled because the following processors are not incremental:
butterknife.compiler.ButterKnifeProcessor (NON_INCREMENTAL),
io.objectbox.processor.ObjectBoxProcessorShim (NON_INCREMENTAL).
原因:这是 kotlin-gradle-plugin 1.3.50 版本的一个bug。
解决办法:gradle.properties 文件中添加 kapt.incremental.apt = false 来禁用增量注解处理 或者 将 kotlin_version 版本降低。