This morning I made an update to android studio from 3.0.1 to 3.1.0. After updating the gradle to latest version I still get build error regarding
android studio
gradle
Adding these lines in grade.properties helped me save the issue
android.enableExperimentalFeatureDatabinding = true android.databinding.enableV2=true