【发布时间】:2018-04-06 13:49:16
【问题描述】:
我下载了一个包含 3 个模块的项目,在尝试构建它之后,我从 gradlew assembleDebug--scan 得到以下信息:
处理资源失败,详见上面的 aapt 输出。
问题是,据我所知,在 build 文件夹中的 values.xml 文件中,这意味着我无法更改它。我究竟做错了什么?。
>error: style attribute '@android:attr/windowBackground' not found.
Message{kind=ERROR, text=error: style attribute '@android:attr/windowBackground' not found., sources=[C:\Users\Charorfa\Downloads\atlas-contentcollector-forgroup\ATLASContentCollector\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:253], original message=, tool name=Optional.of(AAPT)}
>error: style attribute '@android:attr/textColor' not found.
Message{kind=ERROR, text=error: style attribute '@android:attr/textColor' not found., sources=[C:\Users\Charorfa\Downloads\atlas-contentcollector-forgroup\ATLASContentCollector\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:254], original message=, tool name=Optional.of(AAPT)}
同步显示
配置“编译”已过时,已替换为“实施”。 将于 2018 年底移除
但我认为这更像是一个警告,而不是一个错误。
这个我也找到了,不知道能不能帮到我
【问题讨论】:
标签: android android-gradle-plugin