I\'m developing android app using Firebase GMS service.
I tried to follow their tutorials, i made project as they said, downloaded the json files.
But when I
Remove this line if you are working with databinding
from gradle.properties
android.databinding.enableV2=true
For me the solution is, to replace all "compile 'com.google...." to "implementation 'com.google..."
In build.gradle file replace 'compile' with 'implementation' and sync project.
I tried a lot of ways, but the simplest way is updated com.google.gms:google-services
from 3.1.1 to 3.2.0
Remove this line if you are working with databinding from gradle.properties
android.databinding.enableV2=true
Already the databinding is enabled in the app gradle file
I recently update to Android studio 4.0 and got into this error. I was still using the obsolete way to add the databinding . Changing it to the updated way to use the data binding resolved my issue. Below is the code :
buildFeatures{
dataBinding = true
// for view binding :
// viewBinding = true
}