【问题标题】:Flutter FireBase Storage setup .......... can't even build empty projectFlutter FireBase 存储设置............甚至无法构建空项目
【发布时间】:2020-11-04 01:53:05
【问题描述】:

我观看了所有 YouTube 视频,但我无法正确观看 我一步一步地遵循了firebase文档 它仍然给了我这个 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':firebase_storage:javaPreCompileRelease'.
> Could not resolve all files for configuration ':firebase_storage:releaseCompileClasspath'.
   > Could not find firebase-common.jar (com.google.firebase:firebase-common:17.0.0).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-common/17.0.0/firebase-common-17.0.0.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 45s
Running Gradle task 'assembleRelease'...                           46.4s
Gradle task assembleRelease failed with exit code 1
Process finished with exit code 1

请帮忙。

【问题讨论】:

  • 确保您已连接到互联网并再次尝试构建。应该可以工作。
  • 我做到了.. 我什至尝试过使用 VPN

标签: java android firebase flutter


【解决方案1】:

我将 Flutter 存储包的版本降低到 3.0.0 就可以正常使用了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-09-17
    • 1970-01-01
    • 2020-12-25
    • 1970-01-01
    • 2020-08-28
    • 2013-03-15
    • 1970-01-01
    • 2021-06-10
    相关资源
    最近更新 更多