September 21, 2016
Manifest merger failed Attribute application icon
I have created code in android without problem. But, when I added new external library, I get error message like this :
Error:Execution failed for task ':mie:processDebugManifest'. > Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:7:9-43 is also present at [com.pnikosis:materialish-progress:1.0] AndroidManifest.xml:13:9-45 value=(@drawable/ic_launcher). Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:5:5-47:19 to override.
This error related with my external library have icon setting and conflict with my icon program. We can solve this problem with editing AndroidManifest.xml file. My original contents of this file like this :
<?xml version="1.0" encoding="utf-8"?>
<manifest package="smartfamily.mie"
xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:allowBackup="true"
...
...
android:theme="@style/AppTheme">
...
after modified :
<?xml version="1.0" encoding="utf-8"?>
<manifest package="smartfamily.mie"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<application
android:allowBackup="true"
...
...
android:theme="@style/AppTheme"
tools:replace="android:icon,android:theme">
...
This method solve my problem related with Manifest merger failed Attribute application icon.
6 Comments
Your article helped me a lot, is there any more related content? Thanks!
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.
Knowing that this operator works with a globally recognized brand gives me total peace of mind. The bonus structure is straightforward and the wagering requirements are completely reasonable for newcomers. I played through a few of their popular live tables and the whole experience matched the quality of major international sites. Solid choice for anyone wanting premium entertainment. bwincasinobono
I was searching for a secure interactive gaming platform and coroyalmines1win delivered exactly what I needed. The gameplay feels incredibly smooth and I love how they refresh their promotions every single month without skipping a beat. It genuinely feels like a friendly neighborhood spot where everyone has a good time. Stop by and join our ranks coroyalmines1win
Been using this for my daily gaming sessions and it never disappoints. The interface is clean and the game selection keeps getting better every month. Customer support is friendly and solves my issues in no time. You can find everything you need at live22apk
Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://accounts.binance.bh/register/person?ref=JW3W4Y3A