【问题标题】:Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系
【发布时间】:2019-03-08 04:19:04
【问题描述】:

在我的 react native 应用程序中,安装 react-navigationreact-native-gesture-handler 后会显示这些错误

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

【问题讨论】:

  • 您需要检查您安装的依赖是否已正确链接。

标签: javascript android reactjs react-native


【解决方案1】:

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

react-native link react-native-gesture-handler

【讨论】:

    猜你喜欢
    • 2021-09-02
    • 2022-01-05
    • 1970-01-01
    • 2020-10-28
    • 1970-01-01
    • 2021-10-26
    • 2022-09-27
    • 2020-07-11
    • 2020-09-17
    相关资源
    最近更新 更多