When I am running the command react-native run-android in the terminal (React-Native), I am getting the below-mentioned error.
Manifest merger failed : Attribute application@appComponentFactory value=(andr
oid.support.v4.app.CoreComponentFactory) from [com.android.support:support-compa
t:28.0.0] AndroidManifest.xml:22:18-91 is also present at [androidx.core:core:1.1.0-alpha05] AndroidManifest.xm
l:22:18-86 value=(androidx.core.app.CoreComponentFactory).
I tried migrating from android.support to android x as per the solution stated by few.
Expected Result: Build SuccessFul
Actual Result: BUILD FAILED in 9s