title: ERROR: Attribute application@name is too present
body: <p>Hello I am developing 2 modules A and B and B depends of A.</p>
  
  <p>The last two have a Application class, for get the context staticaly.</p>
  
  <p>And in the two modules have them manifest.</p>
  
  <p><strong>Module A manifest:</strong></p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="apps.com.a"&gt;
  
      &lt;application android:name=".AA"/&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>Module B manifest:</strong></p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="apps.com.b"&gt;
  
      &lt;application
          android:name=".BApp"&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>When I try execute the Junit, I get the following error:</p>
  
  <pre><code>Manifest merger failed : Attribute application@name value=(apps.b.BApp) from [__tested_artifact__::blibrary] AndroidManifest.xml:14:18-72
      is also present at [:alibrary] AndroidManifest.xml:11:18-78 value=(apps.com.a.AApplication).
      Suggestion: add 'tools:replace="android:name"' to &lt;application&gt; element at manifestMerger2718201306699938665.xml:7:5-9:19 to override.
  </code></pre>
  
  <p>Any idea of how solve this, i will put 'tools:replace="android:name"' is correct, or can be errors?</p>