在我的应用程序模块的构建中.格雷德尔,我补充道
dependencies {
kapt('com.android.databinding:compiler:3.1.2')
...
}
but I'm still receiving the compiler warning for
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'.
一切正常,我只是讨厌到处都有警告.
非常感谢您的帮助!