[英]Gradle Error: Colliding Attributes when creating Build
when building an.apk file for Android in Unity with the Wikitude SDK I always get the Error: Gradle Error: Colliding Attributes.使用 Wikitude SDK 在 Unity 中为 Android 构建 .apk 文件时,我总是收到错误:Gradle 错误:冲突属性。 I hope someone had the same problem or can solve this, because I really don't know what to do.
我希望有人有同样的问题或可以解决这个问题,因为我真的不知道该怎么办。 I would be very happy if someone could help me here!
如果有人可以在这里帮助我,我会很高兴!
I use Unity 2019.3.6f1 and Wikitude SDK Expert Edition for Unity 9.0.我使用 Unity 2019.3.6f1 和 Wikitude SDK Expert Edition for Unity 9.0。 Attached is the error log with the error itself and a video of the development process in unity, if this helps (see link*).
附件是带有错误本身的错误日志和统一开发过程的视频,如果有帮助的话(见链接*)。
Thanks in advance: :)提前致谢: :)
Best regards, Sebastian最好的问候,塞巴斯蒂安
*Link for the video: https://1drv.ms/v/s!AlxZ4c5bmzbug_MUntWtUsJlufLlrg *视频链接: https://1drv.ms/v/s!AlxZ4c5bmzbug_MUntWtUsJlufLlrg
Error Message:错误信息:
This error means that there are multiple conflicting settings for that attribute in you project.此错误意味着您的项目中该属性存在多个冲突设置。 To get around this you will need to edit your AndroidManifest.xml file in your Plugins/Android folder.
要解决这个问题,您需要在 Plugins/Android 文件夹中编辑您的 AndroidManifest.xml 文件。
If you look at the logs it will tell you a "Suggestion" on how to fix it.如果您查看日志,它会告诉您有关如何修复它的“建议”。 Just go add that override for the attribute in your AndroidManifest.xml file.
只需 go 为您的 AndroidManifest.xml 文件中的属性添加该覆盖。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.