I recently updated to Android Studio 2.3 which now includes gradle plugin 3.3.
After upgrading I tried compiling and ran into issues with one of the classes that had data binding implemented. I came across data binding errors that looked like:
error: package com.myproject.com.databinding does not exist
Through some research I was able to get the error resolved by adding the following to dependencies :
I’ve also read that the com.neenbedankt.android-apt plugin should also be removed after upgrading to gradle 2.3 or higher, so if you have this plugin remove it from your app gradle file. It usually appears at the tope of the file as:
apply plugin: ‘com.neenbedankt.android-apt’
Make sure it is removed. Hope this helps out anyone else with similar issues.