作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我每次运行该应用程序时都会遇到这个问题。一开始我一直在尝试修复这个问题,它说 failed cus of other failures 我已经将 Android 版本更改为
API 21:Android API 21
渲染并得到这个错误。
Failed to parse file
C:..\AppData\Local\Android\sdk\platforms\android-23\data\res\color\highlighted_text_material.xml
highlighted_text_material.xml 如下所示
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:alpha="0.4"
android:color="?attr/colorAccent" />
</selector>
有人遇到同样的问题吗?
最佳答案
如果您看到路径 C:..\AppData\Local\Android\sdk\platforms\android-23\data\res\color\highlighted_text_material.xml
,它正在使用 android-23 ,因此您可能需要将 api 更改为 23 并尝试编译。
关于android - 无法解析文件 highlighted_text_material.xml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36135559/
我每次运行该应用程序时都会遇到这个问题。一开始我一直在尝试修复这个问题,它说 failed cus of other failures 我已经将 Android 版本更改为 API 21:Androi
我是一名优秀的程序员,十分优秀!