title: Manifest merger failed: Attribute application@appComponentFactory
body: <p>So all good but I'm trying to add this library
  <a href="https://github.com/wdullaer/MaterialDateTimePicker" rel="noreferrer">https://github.com/wdullaer/MaterialDateTimePicker</a> with this</p>
  
  <pre><code>implementation 'com.wdullaer:materialdatetimepicker:4.0.1'
  </code></pre>
  
  <p>And suddenly when I sync my Graddle it give me this 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] 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:10:5-53:19 to override.
  </code></pre>
  
  <p>And even if I add that suggestion in my Manifest</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.itt.ceatm"&gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:supportsRtl="true"
      android:theme="@style/AppTheme"
      tools:replace="android:appComponentFactory"&gt; // HERE
      &lt;activity...
  </code></pre>
  
  <p>Im not able to get it done because now I get this error</p>
  
  <pre><code>Manifest merger failed with multiple errors, see logs
  </code></pre>
  
  <p>Here is my full Manifest</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 28
  defaultConfig {
      applicationId "com.itt.ceatm"
      minSdkVersion 19
      targetSdkVersion 28
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner 
  "android.support.test.runner.AndroidJUnitRunner"
      android.defaultConfig.vectorDrawables.useSupportLibrary = true
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 
  'proguard-rules.pro'
      }
   }
  }
  
  dependencies {
  implementation fileTree(dir: 'libs', include: ['*.jar'])
  implementation 'com.android.support:appcompat-v7:28.0.0'
  implementation 'com.android.support:design:28.0.0'
  implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  implementation 'com.android.support:support-vector-drawable:28.0.0'
  implementation 'com.mikhaellopez:circularimageview:3.2.0'
  implementation 'com.android.support:recyclerview-v7:28.0.0'
  implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
  implementation 'com.github.ganfra:material-spinner:2.0.0'
  
  implementation 'com.wdullaer:materialdatetimepicker:4.0.1' //NEW LIBRARY
  
  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'}
  </code></pre>
  
  <p>Any advices? I already do a research, trying to do work arround including the block code of configureall and others but no success. Im stuck</p>
  
  <p>Or even another recomendation of a library for DatePicker with material design would be appreciated</p>
  
  <p>EDIT - SOLUTION:
  Thanks to all btw
  So downgrading the library was ok but then it gave me this error </p>
  
  <p><a href="https://i.stack.imgur.com/ZjAbG.png" rel="noreferrer">Error about different versions support</a> (I can't put it directly due to my level, sorry)</p>
  
  <p>Then I did a research and added this new 2 implementations</p>
  
  <pre><code>dependencies {
  implementation fileTree(dir: 'libs', include: ['*.jar'])
  implementation 'com.android.support:appcompat-v7:28.0.0'
  implementation 'com.android.support:design:28.0.0'
  implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  implementation 'com.android.support:support-vector-drawable:28.0.0'
  
  implementation 'com.android.support:support-v13:28.0.0' //THIS
  implementation 'com.android.support:support-media-compat:28.0.0' //AND THIS
  
  implementation 'com.mikhaellopez:circularimageview:3.2.0'
  implementation 'com.android.support:recyclerview-v7:28.0.0'
  implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
  implementation 'com.github.ganfra:material-spinner:2.0.0'
  
  implementation "com.wdullaer:materialdatetimepicker:3.6.4"
  
  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'}
  </code></pre>
  
  <p>And then I was able to use the library without errors</p>
  
  <p>Thanks to all again!</p>