I am new to react-native / android development. I have created a react-native project. I have to run it on a real physical android device. I am following the react-native official documentation. When i do react-native run-android, i get the following error.
debug Running command "cd android && gradlew.bat app:installDebug -PreactNativeDevServerPort=8081"
'gradlew.bat' is not recognized as an internal or external command,operable program or batch file.
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: spawn gradlew.bat ENOENT
I did check adb device, my device is attached with the system but i am unable to install/run the app on real android device.
Can anyone help me ? I am stuck on this issue for 2 days.