gpt4 book ai didi

firebase - Flutter Firebase (firebase_core) 不在 Android 上构建

转载 作者:IT王子 更新时间:2023-10-29 06:53:29 32 4
gpt4 key购买 nike

当使用 Firebase 插件并开始构建 Android 时,出现以下错误:

ERROR: Failed to resolve: com.google.firebase:firebase-core:
Affected Modules: app, firebase_core.

它在 iOS 上运行良好。

FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not find com.google.firebase:firebase-core:.
Required by:
project :app
project :app > project :firebase_core

最佳答案

此问题已在 firebase_core 的 0.3.4 更新中修复,它是其他 Flutter Firebase 插件的依赖项。您应该能够通过“flutter packages upgrade”获得修复。

https://github.com/flutter/plugins/pull/1464/files

关于firebase - Flutter Firebase (firebase_core) 不在 Android 上构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55558288/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com