Manifest Merger Conflict: Resolving Attribute Issue
Your error message stems from a conflict between attribute values in your AndroidManifest.xml file. Specifically, the attribute application@appComponentFactory appears in multiple
Root Cause:
Firebase has recently migrated to AndroidX, introducing dependencies that conflict with existing support libraries. This is due to the differing implementation of core components, including android:appComponentFactory.
Resolution:
To resolve this conflict, you have several options:
1. Migrate to AndroidX:
2. Downgrade Firebase Dependencies:
Example:
<code class="groovy">// Downgrading Firebase dependencies implementation 'com.google.firebase:firebase-messaging:18.0.0'</code>
Additional Notes:
The above is the detailed content of How to Resolve Manifest Merger Conflicts Related to `application@appComponentFactory`?. For more information, please follow other related articles on the PHP Chinese website!