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?
Asked
Active
Viewed 1,015 times
0
-
2Does 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
-
1Does 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 Answers
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
- 1,572
- 1
- 9
- 15
-1
go to android directory of your project through command line then run gradelw.

mohamadHammad
- 11
- 4