Then I wil receive the error state that binding no...
# android
a
Then I wil receive the error state that binding not found.
g
Did you add binding compiler to kapt dependencies?
a
You mean kotlin-kapt?
Or you mean
kapt "com.android.databinding:compiler:3.1.3"
?
g
Yes
kapt “com.android.databinding:compiler….”
a
I added this.
g
Than you have some other bindings generation error, check your Gradle build logs
And of course you should apply “kotlin-kapt” plugin, but I suppose you already do this too
a
Why I always obtain this kind of error message when I added
kotlin-kapt
into gradle?
kotlin 3rd-party gradle plug-ins may be the cause
g
Looks like something not related to Kapt
Did you tried to build from command line?