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

前端 未结 22 2872
粉色の甜心
粉色の甜心 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条回答
  •  -上瘾入骨i
    2021-01-31 13:37

    I received this error when moving layout files between Gradle modules. I didn't have to go so far as to invalidate caches as it resolved itself when I restarted Android Studio and cleaned the project. It seems likely to be an IDE bug.

提交回复
热议问题