# Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:2:5-36 is also present at AndroidManifest.xml:8:5-41

- **ID:** `android/manifest-merger-failed-attribute-applicationicon`
- **Domain:** android
- **Category:** build_error
- **Verification:** ai_generated
- **Fix Rate:** 90%

## Root Cause

The same attribute (e.g., android:icon) is defined in multiple merged manifest files with conflicting values, causing a merge conflict.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| AGP 7.0+ | active | — | — |
| Android Studio 2022.1+ | active | — | — |

## Workarounds

1. **Add tools:replace="android:icon" to the <application> tag in your main manifest to override library values** (95% success)
   ```
   Add tools:replace="android:icon" to the <application> tag in your main manifest to override library values
   ```
2. **Use tools:node="merge" with tools:replace to handle multiple conflicting attributes** (90% success)
   ```
   Use tools:node="merge" with tools:replace to handle multiple conflicting attributes
   ```
3. **Add tools:remove to exclude a conflicting attribute from a library manifest** (85% success)
   ```
   Add tools:remove to exclude a conflicting attribute from a library manifest
   ```

## Dead Ends

- **** — Removing may cause missing icon if it's required; better to use tools:replace to override. (40% fail)
- **** — If the manifests come from libraries, you may not have direct control over them. (50% fail)
- **** — tools:remove deletes the attribute entirely, which may not be desired. (60% fail)
