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

前端 未结 22 2906
粉色の甜心
粉色の甜心 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:38

    This issue seems to be happening because studio or compiler is not able to find the resource file inside the base layout folder. To solve the problem you might need to create the file into different layout folders. If you are using layout folders v21, v25 etc. folders for designing layouts for different target devices then you also might need to place your resource files there too.

提交回复
热议问题