我在尝试运行 React Native 项目时遇到错误。
react-native run-android
Run Code Online (Sandbox Code Playgroud)
错误看起来像
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> 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 'E:\IT tasks\android\ninja-react-native\android\local.properties'.
Run Code Online (Sandbox Code Playgroud)
请帮我。