无法确定任务':app:preReleaseBuild'的依赖关系

时间:2019-06-10 15:50:49

标签: android react-native visual-studio-code

我正在尝试创建.apk文件的项目,但键入-./gradlew bundleRelease时出现此错误:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:preReleaseBuild'.
> Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
   > Could not resolve project :react-native-gesture-handler.
     Required by:
         project :app
      > Unable to find a matching configuration of project :react-native-gesture-handler: None of the consumable configurations have attributes.

我知道有一些问题,例如我的,但没有一个是完全一样的。很抱歉,如果已经有了解决方案,但没有找到。

1 个答案:

答案 0 :(得分:0)

您可能无法链接库react-native-gesture-handler