farimarwat / grizzly

An Android library to handle ANRs and crashes that occur from third parties and beyond our control.
13 stars 2 forks source link

Manifest merger failed #1

Open asadaltaf583 opened 3 months ago

asadaltaf583 commented 3 months ago

After adding this library i am getting following issue:

Merge Errors Error: Attribute property#android.adservices.AD_SERVICES_CONFIG@resource value=(@xml/ga_ad_services_config) from AndroidManifest.xml:32:13-58 is also present at AndroidManifest.xml:92:13-59 value=(@xml/gma_ad_services_config). Suggestion: add 'tools:replace="android:resource"' to element at AndroidManifest.xml to override. app main manifest (this file), line 31

farimarwat commented 3 months ago

Do as follow in your Manifest File: <application ... tools:replace="android:resource"> <meta-data android:name="android.adservices.AD_SERVICES_CONFIG" android:resource="@xml/ga_ad_services_config" /> ...

asadaltaf583 commented 3 months ago

Screenshot 2024-07-31 112817

asadaltaf583 commented 3 months ago

By adding following code in manifest i resolved this issue