Manifest merger failed androidx

Java
Inside app > build.gradle :
dependencies {
	...
    // add the following single line for androidx
    implementation 'androidx.appcompat:appcompat:1.1.0'
    // implementation before testImplementation
    testImplementation ......
}

Inside gradle.properties :
	android.useAndroidX=true
	android.enableJetifier=true
    
Inside AndroidManifest.xml :
	<application
    	....
        tools:replace="android:appComponentFactory"
        android:appComponentFactory="whateverString"
        ....
    >
Source

Also in Java: