Android studio / Gradle版本在发布时失败:无法确定任务的依赖关系:app:crashlyticsStoreDeobsRelease'

时间:2015-10-05 23:30:30

标签: android android-studio gradle android-gradle

构建仅在发布时失败,调试构建正常。 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'.

1 个答案:

答案 0 :(得分:41)

这是由于对Gradle 1.4.0.beta2

所做的更改

您需要将结构Gradle插件更新为版本> 1.20.0:

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

相关问题