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
Nothing worked for me like rebuilding the project or Invalidating the cache. In my case closing and reopening Android studio solved the problem.