0

I'm trying to run react-native app on my android device. I gave the command npx react-native run-android But above error appears. Any solution for this?

  • 2
    Does this answer your question? [db-is-not-recognized-as-internal-or-external-command-on-windows](https://stackoverflow.com/questions/8744758/adb-is-not-recognized-as-internal-or-external-command-on-windows) – Vijay Palaskar Jul 16 '20 at 15:00
  • 1
    Does this answer your question? [adb is not recognized as internal or external command on windows](https://stackoverflow.com/questions/8744758/adb-is-not-recognized-as-internal-or-external-command-on-windows) – Akin Okegbile Jul 16 '20 at 15:18

2 Answers2

1

Java sdk platform tools are missing. You can manage your sdk with Android Studio. Make sure adb is in $PATH user variable too.

BloodyMonkey
  • 812
  • 4
  • 11
-1

go to android directory of your project through command line then run gradelw.