的IntelliJ的Andr​​oid UI渲染的问题 - 缺少图书馆 [英] intelliJ android UI rendering problems - Missing Library

查看:182
本文介绍了的IntelliJ的Andr​​oid UI渲染的问题 - 缺少图书馆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在很多headbashing我似乎已经得到了我的第一个Hello World应用程序的IntelliJ最终内运行。我今天下载了最新终极版。

当我尝试在UI设计师,我得到下面的错误打开main.xml中。

谁能帮助?我喜欢的UI设计师从影片的IntelliJ提供者在这里的外观:<一href="http://www.jetbrains.com/idea/features/android-tutorials.jsp">http://www.jetbrains.com/idea/features/android-tutorials.jsp

在此先感谢

 这个版本的渲染库比你的IntelliJ IDEA的版本更新。请更新的IntelliJ IDEA

org.jetbrains.android.ui preview.RenderingException:这个版本的渲染库比你的IntelliJ IDEA的版本更新。请更新的IntelliJ IDEA
在org.jetbrains.android.ui preview.LayoutLibraryLoader.load(LayoutLibraryLoader.java:90)
在org.jetbrains.android.sdk.AndroidTargetData.getLayoutLibrary(AndroidTargetData.java:149)
在com.android.tools.idea.rendering.RenderService.create(RenderService.java:167)
在com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$6.run(AndroidDesignerEditorPanel.java:485)
在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.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
在com.intellij.util.Alarm $请求$ 1.运行(Alarm.java:327)
在java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:471)
在java.util.concurrent.FutureTask.run(FutureTask.java:262)
在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
在java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:615)
在java.lang.Thread.run(Thread.java:724)
 

解决方案

尽量选择API 19,而不是20在下拉列表中。

After much headbashing i seem to have got my first hello world app running within IntelliJ ultimate. I downloaded the lastest ultimate edition today.

When I try and open the main.xml in the UI designer I get the error below.

Can anyone help? I liked the look of the UI designer from the videos that intelliJ provider here: http://www.jetbrains.com/idea/features/android-tutorials.jsp

Thanks in advance

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

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.LayoutLibraryLoader.load(LayoutLibraryLoader.java:90)
at org.jetbrains.android.sdk.AndroidTargetData.getLayoutLibrary(AndroidTargetData.java:149)
at com.android.tools.idea.rendering.RenderService.create(RenderService.java:167)
at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$6.run(AndroidDesignerEditorPanel.java:485)
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.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:327)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

解决方案

Try to choose API 19 instead of 20 in the dropdown list.

这篇关于的IntelliJ的Andr​​oid UI渲染的问题 - 缺少图书馆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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