Android Studio渲染库

时间:2015-05-29 17:17:03

标签: android intellij-idea android-studio

我刚刚在Test内创建了Android Studio项目,我收到了以下消息:

要点:

  

渲染问题:此版本的渲染库更多   最近比您的Android Studio版本。请更新Android   工作室。

详细说明:

org.jetbrains.android.uipreview.RenderingException: This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio
    at org.jetbrains.android.uipreview.LayoutLibraryLoader.load(LayoutLibraryLoader.java:90)
    at org.jetbrains.android.sdk.AndroidTargetData.getLayoutLibrary(AndroidTargetData.java:159)
    at com.android.tools.idea.rendering.RenderService.createTask(RenderService.java:164)
    at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$6.run(AndroidDesignerEditorPanel.java:475)
    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:351)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

然而我的Android Studio IS 是最新的,因为我通过Help检查了它 - > Check for Update我得到了Your already have the latest version of Android Studio installed.

2 个答案:

答案 0 :(得分:83)

啊,我发现Preview Android Versions应该从API 22: Android M (Preview)更改为任何非预览Android版本。

enter image description here

答案 1 :(得分:0)

此问题现已修复,最新更新为1.2.2。

enter image description here

http://tools.android.com/recent/androidstudio122nowavailable