Q:

React native Android NDK missing error?

I have setup basic react native android project. when i use react native cmd line to run the android project it gives me below error:

I have set my system variables for android and java properly. but still its asking NDK to be installed . 

A:

How do you know you've set the system variables for android and java properly if it doesn't work? 
Has it ever built on this computer before?
Are you sure NDK is the problem? 
The part that says What went wrong seems to show that you are lacking admin rights. 
Have you tried running CMD as admin?
react-native run-android Building Error ':app:generateDebugBuildConfig' 
This fellow StackOverflow user also came across this problem and fixed it by properly initializing his Path variable.
https://github.com/react-community/react-native-maps/issues/1813 
This github react-native community issue addresses a similar problem and a user commented:

Fixed it by running npm start -- --reset-cache (after following the Android Installation guide ) on react-native 0.50.3

How to set up Android for React-Native without Android Studio but only using the SDK tools? 
I've previously answered my own question on initializing Windows environment variables for Android. Please take a look and tell me if that is how your system is set up.

