I have tried all the solutions on multiple websites and nothing seems to fix it. This is the error I receive every time I try to run it. I've been trying to fix it for over a week now.
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:21:5-50:19 to override.
I've tried adding:
tools:replace="android:appComponentFactory"
android:appComponentFactory="whateverString"
I've tried switching to AndroidX
I've tried cleaning project/invalidate cache and restart.
I've tried changing sdk version
I've tried any answer you'll link me to that answers this question already
I expect the project to run, but every time I attempt I get the same error, even when following its suggestions