'React-native Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Solution 1:[1]
I found out that the problem was with the java version, I upgraded the installed 1.8 version to 11 and the windows advanced site settings > environment variables in the picture.
my JAVA_HOME
i updated
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | yusufavz |


