gpt4 book ai didi

android - 无法解析文件 highlighted_text_material.xml

转载 作者:太空狗 更新时间:2023-10-29 13:14:45 25 4
gpt4 key购买 nike

我每次运行该应用程序时都会遇到这个问题。一开始我一直在尝试修复这个问题,它说 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com