[英]Error:Could not determine the dependencies of task ':app:crashlyticsStoreDeobsDebug'
I run the app I get the following error. 我运行应用程序我得到以下错误。 Anybody help. 有人帮忙。
Error:Could not determine the dependencies of task ':app:crashlyticsStoreDeobsDebug'. 错误:无法确定任务':app:crashlyticsStoreDeobsDebug'的依赖关系。 Task with path 'dexDebug' not found in project ':app'. 在项目':app'中找不到路径'dexDebug'的任务。
You can have this error if you're using an old version of Crashlytics gradle plugin. 如果您使用旧版本的Crashlytics gradle插件,则可能会出现此错误。 Check that in your build.gradle (in the app folder), the top most line is : 检查build.gradle(在app文件夹中),最顶行是:
buildscript {
/*...*/
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
Ideally, please check what is the latest version and set it there (instead of a dynamic one which makes Gradle a bit slower on resolution). 理想情况下,请检查最新版本是什么并将其设置在那里(而不是使Gradle在分辨率上慢一点的动态版本)。
In place of 1.+ use the latest version of Fabric Gradle Plugin - 代替1. +使用最新版本的Fabric Gradle插件 -
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
you should use this way - 你应该用这种方式 -
dependencies {
classpath 'io.fabric.tools:gradle:1.24.1'
}
your problem will be resolved for sure. 你的问题肯定会得到解决。 Happy coding !! 快乐的编码!!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.