[英]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.失败:构建失败,出现异常。
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.org在https://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.