Android Databinding build fail after Gradle plugin update with migration to annotationProcessor

前端 未结 3 802
攒了一身酷
攒了一身酷 2021-01-02 05:30
  • To support Instant Run in my version of Android Studio, I needed to upgrade my Gradle plugin from version 2.2.3 to 2.3.3
3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-02 05:45

    I had exactly the same warning. This line in gradle solved the issue:

    kapt "com.android.databinding:compiler:3.0.1"
    

    Hopefully, it will help somebody

    Update:
    3.0.1 is Android Plugin Version.

提交回复
热议问题