Error when syncing grandle with mask library for fields

1

I'm trying to install a dependency for masquerading fields but when I add it, I have problems, in the log the following message appears:

  

Error: Execution failed for task ': app: processDebugManifest'.   Manifest merger failed: Attribute application @ label value = (@ string / app_name) from AndroidManifest.xml: 39: 9-41       AndroidManifest.xml: 11: 9-36 value = (AndroidMask).       Suggestion: add 'tools: replace="android: label"' to element at AndroidManifest.xml: 35: 5-170: 19 to override.

the library is this:

link

    
asked by anonymous 16.05.2017 / 15:15

1 answer

2

The following occurs:

The above library uses this same Tag Label !

To correct it, you must specify in the AndroidManifest which will be used by your application, as suggested in the error:

  

Suggestion: add 'tools: replace="android: label"' to element at   AndroidManifest.xml: 35: 5-170: 19 to override.

Here's an example:

  <application xmlns:tools="http://schemas.android.com/tools"
        tools:replace="android:label" 
  ...
  >

 </application>
    
16.05.2017 / 16:32