Issues using AndroidX and React Native

try this --> Right Click on the app folder > Refactor > Migrate to AndroidX & click on migrate

https://github.com/facebook/react-native/issues/25307#issuecomment-504752098


Currently, there is no need to install a jetifier separately.

Only use

npx jetify

try using the npm Jetifier package below in a postinstall script

https://www.npmjs.com/package/jetifier

From the readme:

Make sure your app is AndroidX
npm install --save-dev jetifier
npx jetify (may take a while)
npx react-native run-android