ERROR: 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 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 :