after update of my android package name change DataBindingUtil.setContentView returns null
- Build > Clean Project
go to your Build.gradle (Module) and disable databinding:
android { dataBinding { enabled = false } }
File > Sync Project with Gradle Files
- Build > Rebuild Project (no surprise: you'll get a ton of error messages)
Now enable databinding again:
android { dataBinding { enabled = true } }
File > Sync Project with Gradle Files
Build > Rebuild Project
Comments
Post a Comment