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
In my case the same error was showing because layout-land file and layout filename was different.
My Case: layout-land -> my_layout_land layout -> my_layout
I solved it by making both filenames the same. Because if you are using layout-land and you have a file in layout-land then you must have a file in layout folder also.