简体   繁体   English

Aapt2有关在命令行上使用资源时发生冲突的问题

[英]Aapt2 issue about conflicting resources if using on commandline

I am able to use aapt2 link command by providing -R flag where the resource-list.txt is being provided. 我可以通过在提供resource-list.txt的地方提供-R标志来使用aapt2链接命令。 But I am getting 5 or 6 conflicting errors if I am passing res flat zip files instead -R arguments like the theme and colours are originally defined here. 但是,如果我传递res平面zip文件而不是-R参数(例如主题和颜色),则最初在此处定义,则出现5或6个冲突错误。 So the question is why the resources are not overlaying even if I am using --auto-add-overlays flag when passing zip files. 所以问题是为什么即使在传递zip文件时使用--auto-add-overlays标志,资源也不会覆盖。 Is there any otherway without providing resources-list.txt file and providing zip file? 还有其他方法不提供resources-list.txt文件和zip文件吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM