我下载了一个包含3个模块的项目,在尝试构建它之后,我从gradlew assembleDebug中获取以下内容 - 扫描:
无法处理资源,请参阅上面的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)}
Run Code Online (Sandbox Code Playgroud)
同步它说
配置'compile'已经过时,已被'implementation'取代.它将在2018年底删除
但我认为这更像是一个警告,而不是一个错误.
我也发现了这个,但我不知道它是否能帮助我