This is because your previous build has a broken build. This comes from intermediate files because the files do not match your xml files. Drawables may have a broken link or - .
Until you solve this, you cannot go to the layout of your application in the layout editor.
In addition, Android Studio will not show you any errors in the error log or any other terminal.
Start with the styles / themes of the application, it may contain something that is missing from the gradle or project resources. Due to the support library that is still present in the project, it partially demonstrates it as a lack of control over XML files, but it will not allow visualization of the xml editor for the project.
You yourself see this, first start with drawables, and then go to the values folder, if you don't check your gradle, and then go back to the Java files for the error.
source share