title: What does this mean? add 'tools:replace="android:appComponentFactory"' to <application> element
body: <p>I am trying to use firebase in my Android Application.</p>
  
  <p>This is my Build.gradle file</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 28
      defaultConfig {
          applicationId "com.example.ecommerce5"
          minSdkVersion 27
          targetSdkVersion 28
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  
      implementation 'com.google.firebase:firebase-analytics:17.2.0'
  
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>When I remove the following line of code and run the application, the application runs fine.</p>
  
  <pre><code>implementation 'com.google.firebase:firebase-analytics:17.2.0'
  </code></pre>
  
  <p>But when I add the above line,and run the code, the application shows the following error:</p>
  
  <pre><code>Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0-rc02] AndroidManifest.xml:22:18-91
      is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
      Suggestion: add 'tools:replace="android:appComponentFactory"' to &lt;application&gt; element at AndroidManifest.xml:5:5-19:19 to override.
  </code></pre>
  
  <p>What does this mean?</p>
  
  <pre><code>Suggestion: add 'tools:replace="android:appComponentFactory"' to &lt;application&gt; element at AndroidManifest.xml:5:5-24:19 to override.
  </code></pre>