简体   繁体   English

每当我运行 - Flutter 构建 apk 时,它都会给我一个错误消息“无法确定任务‘:app:lintVitalRelease’的依赖关系。”

[英]Whenever I run - Flutter build apk it gives me an error saying "Could not determine the dependencies of task ':app:lintVitalRelease'."

It works completely fine while testing in debugging mode.在调试模式下测试时,它工作得很好。 But when i try to build the apk of this project I get this error.但是当我尝试构建这个项目的 apk 时,我得到了这个错误。

FAILURE: Build failed with an exception.失败:构建失败,出现异常。

  • What went wrong: Could not determine the dependencies of task ':app:lintVitalRelease'.出了什么问题:无法确定任务 ':app:lintVitalRelease' 的依赖项。

Could not resolve all artifacts for configuration ':app:debugAndroidTestCompileClasspath'.无法解析配置“:app:debugAndroidTestCompileClasspath”的所有项目。 Could not find com.google.firebase:firebase-analytics:.找不到 com.google.firebase:firebase-analytics:。 Required by: project:app要求:项目:应用程序

  • Try: Run with --stacktrace option to get the stack trace.尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output. Run with --scan to get full insights.使用 --info 或 --debug 选项运行以获取更多日志 output。使用 --scan 运行以获取完整的见解。

  • Get more help at https://help.gradle.orghttps://help.gradle.org获得更多帮助

BUILD FAILED in 2s Running Gradle task 'assembleRelease'... 3.9s Gradle task assembleRelease failed with exit code 1 2 秒内构建失败运行 Gradle 任务“assembleRelease”... 3.9s Gradle 任务 assembleRelease 失败,退出代码为 1

I got the same error.我得到了同样的错误。 I just restarted my pc and boom it was gone.我刚刚重新启动了我的电脑,然后它就消失了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法确定任务 ':app:lintVitalRelease' flutter 构建错误的依赖项 - Could not determine the dependencies of task ':app:lintVitalRelease' flutter build error flutter android 无法确定任务“:app:lintVitalRelease”的依赖关系 - flutter android Could not determine the dependencies of task ':app:lintVitalRelease' flutter 构建 apk 失败 - 无法确定任务“:app:processDebugResources”的依赖关系 - flutter build apk fails - Could not determine the dependencies of task ':app:processDebugResources' Flutter 构建错误:无法确定任务':app:compileDebugJavaWithJavac的依赖关系 - Flutter Build Error:Could not determine the dependencies of task ':app:compileDebugJavaWithJavac flutter 发布 apk 错误:任务 ':app:lintVitalRelease' 执行失败 - flutter release apk error :Execution failed for task ':app:lintVitalRelease' 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系。 当我在模拟器中运行 flutter 项目时出现这些错误 - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. These error comes when I run flutter project in emulator Flutter Android Build APK 错误 lintvitalrelease - Flutter Android Build APK Error lintvitalrelease flutter run 无法确定任务':app:compileDebugJavaWithJavac'的依赖关系 - flutter run Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' Flutter Android build 无法确定任务“:app:compileDebugJavaWithJavac”的依赖项 Google Play 服务错误 - Flutter Android build Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' Google Play Services Error flutter 错误无法确定任务':app:compileDebugJavaWithJavac'的依赖关系 - flutter error Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM