I try to build a ReactNative app using ReactNative CLI following the steps in their documentation: 
CodePudding user response:
Ensure that you Installed Android SDK and Configured the ANDROID_HOME environment variable like documented here
In the Path of 'System variables', click edit and add the following path variables to the top of the list and save.
Now restart the computer and rerun the application

