Recently updated the SDK in Android studio to the latest version, as part of the configuration has been modified.
Then, when you open the layout file, a rendering error occurs Rendering problem
theisversionof android studio
Tip: As shown above. This is because the rendered version changes automatically after the SDK has been updated, and the current project configuration version differs from the version of the render setup.
The workaround is as follows.
Open any layout file and switch to Design view
Click on the icon, select API version, if updated the SDK is generally automatically modified to the latest version, you can modify the lower point. You can view the Build.gradle file in module to see the API version used by the current project, and then modify it.
The rendering library is more recent than your version of Android studio