相关疑难解决方法(0)

数据绑定注释处理器kapt警告

在我的app模块的build.gradle中,我添加了

dependencies {
kapt('com.android.databinding:compiler:3.1.2')
...
}
Run Code Online (Sandbox Code Playgroud)

但我仍然收到编译器警告

app: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.android.databinding:compiler:3.1.2'.
Run Code Online (Sandbox Code Playgroud)

一切正常,我只是讨厌挂着警告.

任何帮助深表感谢!

android annotation-processing kotlin kapt

15
推荐指数
1
解决办法
6111
查看次数

标签 统计

android ×1

annotation-processing ×1

kapt ×1

kotlin ×1