首页 > 解决方案 > 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系

问题描述

在我的反应原生应用程序中,这些错误在安装后react-navigation显示react-native-gesture-handler

无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系。
无法解析配置 ':app:debugCompileClasspath' 的所有任务依赖项。
无法解析项目:react-native-gesture-handler。要求:项目:应用程序
无法找到项目的匹配配置:react-native-gesture-handler:所有消耗品配置都没有属性。

标签: javascriptandroidreactjsreact-native

解决方案


尝试通过运行以下命令链接react-native-gesture-handler到:react-native

react-native link react-native-gesture-handler

推荐阅读