I’m working on an ionic4 app with angular and firebase.
I was building the app to android using: ionic cordova run android, it was successfully built the application. Suddenly when I’m running the same command there is an error showing:
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 element at AndroidManifest.xml:5:5-37:19 to override.
I’ve tried to add
tools:replace="android:appComponentFactory" to element at AndroidManifest.xml. And I’ve have tried also to delete the platforms/android and install it again without getting the result
Does anyone have any idea about what happening? or can anyone help me with this issue!