ClassNotFoundException: Didn't find class “android.databinding.DataBinderMapper”

后端 未结 9 1809
长发绾君心
长发绾君心 2020-12-11 14:23

I am using android\'s data binding library for views in a library project

i have added the following line in my root gradle file

classpath \'         


        
9条回答
  •  离开以前
    2020-12-11 15:21

    I had the same problem, but I solved it removing

    classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'

    from the global build.gradle and removing

    apply plugin: 'android-apt'

    from the local build.gradle, then it worked like a charm.

    It seems it was a mixed problem with Butterknife too. Pretty weird.

提交回复
热议问题