简体   繁体   English

错误:无法确定任务':app:crashlyticsStoreDeobsDebug'的依赖关系

[英]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.

相关问题 错误=>无法确定任务':app:compileDebugJavaWithJavac'的依赖关系 - Error=> Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' android 工作室错误 - 无法确定任务“:app:installDebug”的依赖关系 - android studio error - Could not determine the dependencies of task ':app:installDebug' 无法确定 flutter 中任务 ':app:compileDebugJavaWithJavac' 的依赖关系 - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' in flutter 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系。 (一个信号) - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. (OneSignal) 无法确定任务':app:bundleReleaseResources'的依赖关系 - Could not determine the dependencies of task ':app:bundleReleaseResources' 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系 - Flutter - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' - Flutter 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系。 颤振应用 - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. flutter application 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系。 flutter 上的问题 - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. problem on flutter 如何解决无法确定任务':app:compileDebugJavaWithJavac'的依赖关系 - Android - How to solve Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' - Android 无法确定 android 工作室中任务“:app:compileDebugJavaWithJavac”的依赖关系 - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' in android studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM