android - 无法确定任务 ':app:preReleaseBuild' 的依赖关系
问题描述
我正在尝试将项目创建到 .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.
我知道有一些像我一样的问题,但没有一个是完全相同的。如果已经存在解决方案,我很抱歉,但我没有找到。
解决方案
您可能没有链接库 react-native-gesture-handler
推荐阅读
- c# - 如何使用自定义控件创建工作流
- java - 使用变量调用 Java 对象常量
- javascript - 仅当光标来自该元素之外时如何触发“onmouseenter”
- javascript - 快速调用时,在最短的时间内显示一个标签
- java - 使用灵活适配器的粘性部分标题 RecyclerView?
- javascript - 如何在用户在 html textarea 中输入文本之前添加永久文本?
- javascript - 如何查看整个定义:Angular 7 中节点模块的函数和变量?
- android - 从 onDraw 为 clipPath 设置动画
- .htaccess - 创建了 cPanel 子域,子文件夹内的文件显示 500 错误
- push-notification - 注销后停止推送通知