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已经是最新版本了,其实这个问题另有玄机。


在渲染界面有如下选项

This version of the rendering library is more recent than your version of IntelliJ IDEA._第1张图片

在这里选择合适的版本就可以解决上面的问题。

你可能感兴趣的:(android)