I have followed all the steps from here:http://reactnative.dev/docs/environment-setup
What should i do to fix this?
I have followed all the steps from here:http://reactnative.dev/docs/environment-setup
What should i do to fix this?
Make sure you have set SDK dir in android/local.properties (if not create that file)
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Fri Sep 06 20:07:53 BST 2019
sdk.dir=/Users/<youcomputername>/Library/Android/sdk
Make sure that your JAVA_HOME environment points to (C:\jdk1.6.0_26\lib) folder and not (C:\jdk1.6.0_26\jre). Refer to this question