相关疑难解决方法(0)

IntelliJ IDEA渲染错误

我正在尝试设置IntelliJ IDEA来编程android,但我无法渲染main.xml.

org.jetbrains.android.uipreview.RenderingException:此版本的渲染库比您的IntelliJ IDEA版本更新.请org.jetbrains.android.sdk在org.jetbrains.android.uipreview.RenderServiceFactory.create(RenderServiceFactory.java:73)更新在org.jetbrains.android.uipreview.RenderServiceFactory.loadLibrary(RenderServiceFactory.java:158)的IntelliJ IDEA .AndroidTargetData.getRenderServiceFactory(AndroidTargetData.java:132)在org.jetbrains.android.uipreview.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.

在此输入图像描述

当我尝试使用Android GUI Designer(IntelliJ Utility)打开main.xml时,这是个例外.我有最新的IDE版本,所以我不知道这里发生了什么.

java android intellij-idea

61
推荐指数
3
解决办法
2万
查看次数

使用Intellij 13.1.3渲染Android的问题

在IntelliJ 13.1.3中查看Android应用程序中(仅)活动的预览时,出现以下错误:

渲染问题此版本的渲染库比您的IntelliJ IDEA版本更新.请更新IntelliJ IDEA

我出错的地方有什么想法吗?这是我做的:

  • 已安装IntelliJ 13.1.3终极版.
  • 映射的Android SDK.
  • 已验证IntelliJ指向Android SDK的正确安装.
  • 使用'Gradle:Android Module'创建了新的Android模块.
  • 验证该模块编译正常.

注意:我尝试过构建工具版本19,19.0.1,19.1和20.

我的 build.gradle

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
       classpath 'com.android.tools.build:gradle:0.9.+'
    }
}
apply plugin: 'android'

repositories {
    mavenCentral()
} 

android {
    compileSdkVersion 19
    buildToolsVersion "19.1"

    defaultConfig {
        minSdkVersion 19
        targetSdkVersion 19
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            runProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:19.+'
}
Run Code Online (Sandbox Code Playgroud)

android intellij-idea

9
推荐指数
1
解决办法
3880
查看次数

如何在Intellij IDEA 13布局预览中删除渲染问题消息窗口

那么如何在每次更改布局中的内容时,如何彻底删除Intellij IDEA 13中Android布局预览区域上方出现的"渲染问题"消息?

android intellij-idea android-layout

7
推荐指数
1
解决办法
4260
查看次数

intelliJ android UI渲染问题 - 缺少库

经过多次抨击,我似乎已经在IntelliJ终极中运行了我的第一个hello world应用程序.我今天下载了最新的终极版.

当我尝试在UI设计器中打开main.xml时,我得到以下错误.

有人可以帮忙吗?我喜欢来自IntelliJ提供商的视频中UI设计师的外观:http://www.jetbrains.com/idea/features/android-tutorials.jsp

提前致谢

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 …
Run Code Online (Sandbox Code Playgroud)

android intellij-idea intellij-13

7
推荐指数
2
解决办法
1万
查看次数