Skip to content

Manifest merger failed for atribute application@label value #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MatteCarra opened this issue Sep 18, 2016 · 4 comments
Open

Manifest merger failed for atribute application@label value #52

MatteCarra opened this issue Sep 18, 2016 · 4 comments

Comments

@MatteCarra
Copy link

I'm gettings this error

Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@label value=(@string/my_app_name) from AndroidManifest.xml:14:9-51
    is also present at [com.github.iammert:MaterialIntroView:1.5.2] AndroidManifest.xml:13:9-41 value=(@string/app_name).
    Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:10:5-62:19 to override.

My manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="mypackage">

    <application
        android:allowBackup="true"
        android:name=".MyApplication"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/my_app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
    </application>
</manifest>
@MatejVukosav
Copy link

You can write tools:replace="label" in your app manifest to override lib label data.

@safinahali
Copy link

Hi.

It recreates the manifest file when I edit it on each build. How did you work around that issue?

@ulagapandi2upms
Copy link

Give this a try:

Add this to

xmlns:tools="http://schemas.android.com/tools"
Add this to

tools:node="replace"

@samigimix
Copy link

Give this a try:

Add this to

xmlns:tools="http://schemas.android.com/tools"
Add this to

tools:node="replace"

I used it but after app launches it crashes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants