Android Databinding : package does not exist

前端 未结 15 1254
暗喜
暗喜 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 04:50

    I was stuck with same error for hours. After trying several solution from stackoverflow, I updated my project with stable gradle dependencies.

    Still it was not solved, however with the same gradle dependency DataBinding was working fine in another project of mine.

    So, I went project folder using explorer and Deleted 2 things.

    1. build folder
    2. all files from .idea/libraries

    After that i synced the project and it continued to work just fine.

提交回复
热议问题