![](/img/trans.png)
[英]Could not determine the dependencies of task ':app:lintVitalRelease' flutter build error
[英]Whenever I run - Flutter build apk it gives me an error saying "Could not determine the dependencies of task ':app:lintVitalRelease'."
在调试模式下测试时,它工作得很好。 但是当我尝试构建这个项目的 apk 时,我得到了这个错误。
失败:构建失败,出现异常。
无法解析配置“:app:debugAndroidTestCompileClasspath”的所有项目。 找不到 com.google.firebase:firebase-analytics:。 要求:项目:应用程序
尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。 使用 --info 或 --debug 选项运行以获取更多日志 output。使用 --scan 运行以获取完整的见解。
在https://help.gradle.org获得更多帮助
2 秒内构建失败运行 Gradle 任务“assembleRelease”... 3.9s Gradle 任务 assembleRelease 失败,退出代码为 1
我得到了同样的错误。 我刚刚重新启动了我的电脑,然后它就消失了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.