Execution failed for task ':app:dataBindingGenBaseClassesDebug'. Error after upgrading to Android Studio 3.2.1

前端 未结 2 1120
不思量自难忘°
不思量自难忘° 2021-01-17 19:14

I got the error after making the project:

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task \':app:dataBindingGenBase
相关标签:
2条回答
  • 2021-01-17 20:06

    The following command worked for me.

    ./gradlew assembleDebug --rerun-tasks
    
    0 讨论(0)
  • 2021-01-17 20:10

    I had the same error at build time and it was caused by a binding variable (that declared inside <data></data> with a Java reserved word as name. For instance <variable name="case" type="com.mydomain.Case" />

    0 讨论(0)
提交回复
热议问题