0

I have just created a react-native project and followed all the docs. when I am trying to run npx react-native run-android I am getting the following error enter image description here

resolved the above error. now the error is coming like this enter image description here

  • 1
    It is always great if you post error as text instead of image – Thanhal P A Feb 07 '22 at 11:17
  • 1
    Does this answer your question? [Facing issue " Failed to install the app. Make sure you have the Android development environment " in react native](https://stackoverflow.com/questions/56891033/facing-issue-failed-to-install-the-app-make-sure-you-have-the-android-develop) – Thanhal P A Feb 07 '22 at 11:21

1 Answers1

0

Solved it by deleting .gradle directory in app/android folder.