Gradle Error: Colliding Attributes when creating Build

1.5k Views Asked by At

when building an .apk file for Android in Unity with the Wikitude SDK I always get the Error: Gradle Error: Colliding Attributes. 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. 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

Error Message:

Gradle Error 1

Gradle Error 2

1

There are 1 best solutions below

1
Ian Pilipski On

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.

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.