Gradle Error: Colliding Attributes.
I tried to add tools attribute to property tag on Android manifest xml but not resolved.
Can I try any?
Gradle Error: Colliding Attributes.
I tried to add tools attribute to property tag on Android manifest xml but not resolved.
Can I try any?
Don’t know if you’re still having this problem, but we’ve just encountered it ourselves in the last couple of days. Whilst we’re trying to figure out a proper fix for it, we’ve got a temporary workaround of sorts. This may or may not work for you, but our error message is exactly the same so it’s worth a shot.
After checking the error in the Console log, I did some digging and eventually found that I needed to modify the AndroidManifest.xml file in my local gradle cache. For me, the path is as follows, but yours may differ a bit:
~/.gradle/caches/transforms-3/25c23543e4de44de09a4c5ac033f72b8/transformed/jetified-play-services-ads-lite-23.4.0/AndroidManifest.xml
I’ve changed the final property section in that manifest file to read as follows, with ‘tools:replace=“android:resource”’ added at the end, as the console log suggested:
<property
android:name="android.adservices.AD_SERVICES_CONFIG"
android:resource="@xml/gma_ad_services_config" tools:replace="android:resource" />
Hope this is of some help, at least in the short term.