PS C:\Users\Prabhudev\react-projects\react-native\myFirstApp> react-native run-android info JS server already running. info Building and installing the app on the device (cd and
Solution 1:
First Add the JDK and JRE paths to the System Variable "Path"
like below:
Secondly, Add the JAVA JDK path to the USER variable as JAVA_HOME. as shown below:
Restart the cmd and go to the app directory and run the app with react-native run-android
Voila:
Share
Post a Comment
for "Java_home Is Not Set Error, After Running React-native App"
Post a Comment for "Java_home Is Not Set Error, After Running React-native App"