Manifest merger failed how tofix code example

Example: Manifest merger failed androidx

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"
        ....
    >

Tags:

Misc Example