After installing a new library in my android project, I get the following error:

/android/app/src/debug/AndroidManifest.xml Error:
    Attribute [email protected] value=(Compassion) from (unknown)
    is also present at [com.github.master] AndroidManifest.xml:15:9-41 value=(@string/app_name).
    Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:6:4-36:19 to override.

FAILURE: Build failed with an exception.

Solution 1: Ged Flod

After some research, I found that the newly installed library also has a code>[email protected]</code attribute, so all you have to do is modify your AndroidManifest.xml file by adding the following two lines of code:

  1. Add xmlns:tools="" to the manifest tag
  1. Add tools:replace="android:label" to the application tag

Solution 2: Dev Salman khan

Go to main AndroidManifest.xml and paste these two lines below

In manifest tag


And in the Application tag


This work for me