Android Databinding : package does not exist

前端 未结 15 1270
暗喜
暗喜 2020-12-06 04:19

I\'m trying to use data-binding with Android.

I can not anymore build my project. I got this error :

\"Error:(13, 46) error: package ch.compan

15条回答
  •  情深已故
    2020-12-06 05:08

    Change the package name to lowercase. Instead of ViewModels use viewmodels. It worked for me.

提交回复
热议问题