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 283 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.
![](../../users/profiles/10258445.webp)
BloodyMonkey
- 812
- 4
- 11
-1
go to android directory of your project through command line then run gradelw.
![](../../users/profiles/12955863.webp)
mohamadHammad
- 11
- 4