1

I have upgraded my android studio 3.6.

After updating the android studio data-binding class not generated.

Project Gradle and Version Info :

buildToolsVersion "29.0.3"
classpath 'com.android.tools.build:gradle:3.6.0'
distributionUrl=https://services.gradle.org/distributions/gradle-5.6 .4-all.zip

Below are the references for understand issue,

implement data-binding in layout file

Not generate data-binding class

it is data-binding package class

I had already performed below action,

  1. Invalidate caches and restart
  2. Remove the build folder and re-build project
  3. Remove generated stub {true}

Now, I downgrade android studio to 3.5 my project is good working with databiding. But, not work in android studio 3.6

sumuu2211
  • 13
  • 6

2 Answers2

0

AS 3.6 somehow renames submodule binding name. Use this workaround to name the binding manually : stackoverflow.com/a/36377610/12966308

Steve
  • 1
0

I got same issue spent one day to resolved.

I found There is issue occur many android studio after update studio v3.6+ .

I resolved by installing Beta build of android studio. you can download it from here

Mayur Dabhi
  • 3,607
  • 2
  • 14
  • 25