https://kotlinlang.org logo
#android
Title
# android
d

dathoang.se

06/20/2017, 9:15 AM
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

sarah.neo

06/21/2017, 1:24 AM
it might be due to an error in one of the attributes in your layout xml
d

dathoang.se

06/21/2017, 1:38 AM
@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.
24 Views