I recently upgraded to Android Studio 4.0.1 and my build keeps failing with the message:
The option 'android.databinding.enableV2' is deprecated. The current default is 'true'. It has been removed from the current version of the Android Gradle plugin. Databinding v1 is removed.
I tried adding:
android.enableExperimentalFeatureDatabinding = false
android.databinding.enableV2=false
to gradle.properties and gradle-wrapper.properties. but neither solved the issue. Is there something that has to be added or removed from build.gradle possibly?