The layout in layout has no declaration in the base layout folder [error]

前端 未结 22 3083
粉色の甜心
粉色の甜心 2021-01-31 13:05

After migrating to Android Studio 3.2, API 28, I am getting the following error on my app\'s layout:

The layout in layout has no declaration in the base lay

22条回答
  •  轮回少年
    2021-01-31 13:29

    In my case, this issue was caused by Uppercase letter. Wrong chars like "-" can also cause the issue. I changed the name from Activity_disease.xml to activity_disease.xml and the issue fixed.

提交回复
热议问题