after update of my android package name change DataBindingUtil.setContentView returns null

  1. Build > Clean Project
  2. go to your Build.gradle (Module) and disable databinding:

    android { dataBinding { enabled = false } }

  3. File > Sync Project with Gradle Files

  4. Build > Rebuild Project (no surprise: you'll get a ton of error messages)
  5. Now enable databinding again:

    android { dataBinding { enabled = true } }

  6. File > Sync Project with Gradle Files

  7. Build > Rebuild Project


Comments

Popular posts from this blog

Git commands

How to Debug Android TV App using IP