IntelliJ IDEA的渲染错误 [英] Intellij Idea Render error

查看:280
本文介绍了IntelliJ IDEA的渲染错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其实我试图建立的IntelliJ IDEA编程机器人,但我不能呈现main.xml中。

actually I'm trying to set up Intellij IDEA for programming android but I cant render the main.xml.

org.jetbrains.android.ui preview.RenderingException:这个版本   渲染库比你的IntelliJ的版本更新   理念。请在更新的IntelliJ IDEA   org.jetbrains.android.ui preview.RenderServiceFactory.loadLibrary(RenderServiceFactory.java:158)     在   org.jetbrains.android.ui preview.RenderServiceFactory.create(RenderServiceFactory.java:73)     在   org.jetbrains.android.sdk.AndroidTargetData.getRenderServiceFactory(AndroidTargetData.java:132)     在   org.jetbrains.android.ui preview.RenderUtil.renderLayout(RenderUtil.java:105)     在   com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$8.run(AndroidDesignerEditorPanel.java:346)     在   com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)     在   com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)     在   com.intellij.util.ui.update.MergingUpdateQueue $ 2.运行(MergingUpdateQueue.java:254)     在   com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:269)     在   com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)     在   com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217)     在为com.intellij.util.Alarm $请求$ 1.运行(Alarm.java:289)   java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:471)     在java.util.concurrent.FutureTask中$ Sync.innerRun(FutureTask.java:334)     在java.util.concurrent.FutureTask.run(FutureTask.java:166)在   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:603)     在java.lang.Thread.run(Thread.java:722)

org.jetbrains.android.uipreview.RenderingException: This version of the rendering library is more recent than your version of IntelliJ IDEA. Please update IntelliJ IDEA at org.jetbrains.android.uipreview.RenderServiceFactory.loadLibrary(RenderServiceFactory.java:158) at org.jetbrains.android.uipreview.RenderServiceFactory.create(RenderServiceFactory.java:73) at org.jetbrains.android.sdk.AndroidTargetData.getRenderServiceFactory(AndroidTargetData.java:132) at org.jetbrains.android.uipreview.RenderUtil.renderLayout(RenderUtil.java:105) at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$8.run(AndroidDesignerEditorPanel.java:346) at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320) at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310) at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254) at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:269) at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227) at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217) at com.intellij.util.Alarm$Request$1.run(Alarm.java:289) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

这是个例外,我得到当我尝试打开与Android的GUI设计器(的IntelliJ实用程序)的main.xml中。我有最新的IDE版本,所以我不知道这里发生了什么。

This is the exception I get when I try to open the main.xml with the Android GUI Designer (Intellij Utility). I have the latest IDE version so I dont know what's happening here.

感谢您的时间。

推荐答案

IDEA没有渲染的版本为4.3呢。尝试选择的Andr​​oid版本低于4.3在preVIEW下拉。这对我的作品。

IDEA does not have a render version for 4.3 yet. Try select version of Android that is less than 4.3 in the dropdown in the preview. It works for me.

这篇关于IntelliJ IDEA的渲染错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆