Anyone encountering “unresolved reference: databin...
# android
d
Anyone encountering “unresolved reference: databinding” issue when using kotlin + databinding in Android? “Error:(8, 38) Unresolved reference: databinding Error:(15, 35) Unresolved reference: ActivitySignupBinding”
s
it might be due to an error in one of the attributes in your layout xml
d
@sarah.neo You're right, I found it out
🎉 1
@lovis Thanks. It was due to version difference between databinding compiler and gradle
@sarah.neo Thank you very much
🙂 1
At first, I tried @lovis suggestion, and it worked. Then after some changes to the xml layout, it didn't work anymore, and I didn't think it was due to xml layout error. I tried comment out all stuff in the xml layout and it worked now.