element in AndroidManifest.xml."> element in AndroidManifest.xml."> element in AndroidManifest.xml.">
Coding⏱️ 1 min read📅 2026-06-03

How to Fix: Android studio Gradle icon error, Manifest Merger

Android Studio Gradle icon error, Manifest Merger - resolve the issue by adding 'tools:replace="android:icon"' to the element in AndroidManifest.xml.

Quick Answer: Add 'tools:replace="android:icon"' to the element in your AndroidManifest.xml file to override the conflicting icon attribute.

The Gradle icon error in Android Studio is caused by a conflict between the application's icon and another icon defined in an external library. To resolve this issue, follow these steps:

💡 How to Fix

  • Open the AndroidManifest.xml file and find the application element.

Method 1: Update Application Icon

  1. Step 1: Remove the conflicting icon definition from the AndroidManifest.xml file.

Method 2: Use Tools:replace to Override Icon

  1. Step 1: Add the 'tools:replace=

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions