java.lang.NoClassDefFoundError: android.databinding.DataBinderMapper
at android.databinding.DataBindingUtil.(DataBindingUtil.java:31)
a
I was facing same error. What I have done is that I updated the dependency for databinding in app.gradle file
kapt 'com.android.databinding:compiler:3.1.0-alpha05'
to
kapt 'com.android.databinding:compiler:3.2.0-alpha04'
after updating the databinder compiler, I started getting this error. To get rid from this problem I have to revert the databinding compiler to old version and it taken me away from this problem. Now I am waiting for stable databinding compiler version and will upgrade to that version till then I will go with old compiler version.