react native android 项目启动

FAILURE: Build failed with an exception.react

* What went wrong:
A problem occurred configuring project ':app'.
> SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at 'C:\jobs\react-native\bluesky_xyc_app\android\local.properties'.android

 

 须要在android文件下添加local.properties  指定sdk的文件路径react-native