Cannot run instrumentation tests after I introduced databinding

前端 未结 1 475
小蘑菇
小蘑菇 2021-02-08 15:40

I\'m getting

Warning: library class android.databinding.DataBindingUtil depends on program class android.databinding.DataBindingComponent

I get this

1条回答
  •  醉话见心
    2021-02-08 16:10

    Try adding the following to your proguard config:

    -dontwarn android.databinding.**
    -keep class .databinding.** {
        ;
        ;
    }
    

    The first line gets rid of the warning, and the second tells proguard to not mess with any of the generated classes.

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