title: Android App Manifest merger failed Facebook and Firebase
body: <p>I'm working on a social app (Facebook and Firebase).</p>
  
  <p>Once I added the firebase gradle path, I got this error:</p>
  
  <pre><code>Error:Execution failed for task ':app:processDebugManifest'.
  </code></pre>
  
  <blockquote>
    <p>Manifest merger failed : Attribute activity#com.facebook.FacebookActivity@theme value=(@android:style/Theme.Translucent.NoTitleBar) from AndroidManifest.xml:85:13-72
        is also present at [com.firebaseui:firebase-ui-auth:0.6.0] AndroidManifest.xml:69:13-58 value=(@style/FirebaseUI.Translucent).
        Suggestion: add 'tools:replace="android:theme"' to  element at AndroidManifest.xml:81:9-85:75 to override.</p>
  </blockquote>
  
  <p><code>build.gradle</code> file:</p>
  
  <pre><code>compile 'com.firebaseui:firebase-ui:0.6.0'
  compile 'com.facebook.android:facebook-android-sdk:4.0.0'
  </code></pre>
  
  <p>Mainfest file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  package="com.friendture.apps.android.friendture"&gt;
  
  &lt;uses-permission android:name="android.permission.SEND_SMS" /&gt;
  &lt;uses-permission android:name="android.permission.RECEIVE_SMS" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /&gt;
  
  &lt;application
      android:name=".Init"
      android:allowBackup="true"
      tools:replace="android:theme"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:supportsRtl="true"
      android:theme="@style/AppTheme"&gt;
      &lt;meta-data
          android:name="com.google.android.geo.API_KEY"
          android:value="*****" /&gt;
      &lt;meta-data
          android:name="com.facebook.sdk.ApplicationId"
          android:value="******" /&gt;
  
      &lt;activity android:name=".Activity.SplashScreenActivity"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity
          android:name=".Activity.ProfileActivity"
          android:label="@string/title_activity_profile" /&gt;
  
      &lt;activity
          android:name="com.facebook.FacebookActivity"
          android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
          android:label="@string/app_name"
          android:theme="@android:style/Theme.Translucent.NoTitleBar" /&gt;
      &lt;activity android:name=".Activity.PasswordActivity" /&gt;
      &lt;activity android:name=".Activity.SelectFromListActivity" /&gt;
      &lt;activity android:name=".Activity.CompleteFacebookActivity"&gt;&lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>