小编Gab*_*oki的帖子

错误:运行 React Native 项目时无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系

我在尝试运行 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)

请帮我。

android build.gradle react-native

1
推荐指数
1
解决办法
9429
查看次数

标签 统计

android ×1

build.gradle ×1

react-native ×1