Android Studio: This version of the rendering library is more recent than your version of Android Studio
Android Studio预览xml布局时,提示:
This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio
如图所示:
原因:Android Studio默认会用最高级版本的SDK来渲染XML文件,所以可能导致错误。我们只需将SDK改成我们自己所需的即可(当然,SDK必须事先安装好)。
如图所示: