gpt4 book ai didi

Android Studio/Gradle 构建在版本 : Could not determine the dependencies of task ':app:crashlyticsStoreDeobsRelease' 中失败

转载 作者:IT王子 更新时间:2023-10-28 23:28:56 30 4
gpt4 key购买 nike

仅在发布时构建失败,调试构建正常。Android studio 1.4、Gradle 2.8 RC1、Gradle 插件 1.4.0 BETA 4

FAILURE: Build failed with an exception.
* Exception is:
org.gradle.api.GradleException: Could not determine the dependencies of task ':app:crashlyticsStoreDeobsRelease'.
...
Error:org.gradle.api.UnknownTaskException: Task with path 'dexRelease' not found in project ':app'.

最佳答案

这是由于对 Gradle 1.4.0.beta2 所做的更改

您需要将 Fabric Gradle 插件更新到 > 1.20.0 的版本:

classpath 'io.fabric.tools:gradle:1.20.1' 应该这样做

关于Android Studio/Gradle 构建在版本 : Could not determine the dependencies of task ':app:crashlyticsStoreDeobsRelease' 中失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32959477/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com