【发布时间】:2016-06-26 00:16:06
【问题描述】:
我的XML 布局未呈现此错误消息。我已经在使用 Java 8。
还在 Gradle 中使用最新的构建工具。
android {
compileSdkVersion 'android-N'
buildToolsVersion 24.0.0 rc1
...
}
XML 错误 -
【问题讨论】:
-
Android Studio 存在各种渲染问题。我建议您提供minimal reproducible example。在这种情况下,这将包括布局文件和特定错误。
-
@CommonsWare 我更新了 XML 错误图像。 Install a supported JDK 重定向我设置我已经做过的步骤。
-
我不得不更改为 buildToolsVersion '24.0.0 rc1',文档缺少引号。
-
@PhyrumTea 没有让错误消失。
-
最后,当我尝试构建和运行项目时,它以
Directory cannot have its readable permission cleared for everybody失败。显然这是一个已知的bug 并且谷歌正在努力。
标签: android android-studio android-7.0-nougat