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

后端 未结 9 1812
长发绾君心
长发绾君心 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:16

    I had the same problem after performing the migration androdx. I tried all the above methods but not resolved. I suddenly found that I used com.android.tools.build:gradle version is 3.3. I update it to 3.5. Problem is solved.

    project build.gradle: classpath 'com.android.tools.build:gradle:3.3.0' Update to classpath 'com.android.tools.build:gradle:3.5.0' Redo the migration.

提交回复
热议问题