This version of the rendering library is more recent than your version of IntelliJ IDEA.

今天往idea里导入其它项目时又遇到了一个问题。单独标记一下。


导入后打开一个布局xml文件,发现不能渲染,报错为:

This version of the rendering library is more recent than your version of IntelliJ IDEA. Please update IntelliJ IDEA


看字面意思就是idea的渲染库版本号不正确,让你升级idea。由于之前升级过android sdk。就想到了曾经eclipse的老问题:adt的升级。难道idea也是类似的么?

可是idea已经是最新版本号了,事实上这个问题另有玄机。


在渲染界面有例如以下选项


在这里选择合适的版本号就能够解决上面的问题。

原文地址:https://www.cnblogs.com/zsychanpin/p/7011177.html