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

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

    In my case this warning appeared due to "wrong" character (dot) used in value name:

    24dp
    

    Removing dots (right click on a name, then Refactor-Rename in Android Studio) resolved the problem.

提交回复
热议问题