首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >com.google.firebase:firebase-messaging:[10.2.1,->无法解析Flutter 17.3.99]

com.google.firebase:firebase-messaging:[10.2.1,->无法解析Flutter 17.3.99]
EN

Stack Overflow用户
提问于 2021-02-24 00:05:46
回答 1查看 298关注 0票数 0

由于这个原因,我无法编译我的项目:

代码语言:javascript
运行
复制
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 resolve com.google.firebase:firebase-messaging:[10.2.1, 17.3.99].
     Required by:
         project :app > com.onesignal:OneSignal:3.15.3
      > Failed to list versions for com.google.firebase:firebase-messaging.
         > Unable to load Maven meta-data from https://jcenter.bintray.com/com/google/firebase/firebase-messaging/maven-metadata.xml.
            > Could not get resource 'https://jcenter.bintray.com/com/google/firebase/firebase-messaging/maven-metadata.xml'.
               > Could not GET 'https://jcenter.bintray.com/com/google/firebase/firebase-messaging/maven-metadata.xml'.
                  > Read timed out
   > Could not resolve com.google.android.gms:play-services-ads-identifier:[15.0.0, 16.0.99].
     Required by:
         project :app > com.onesignal:OneSignal:3.15.3
32
      > Skipped due to earlier error
   > Could not resolve com.google.android.gms:play-services-base:[10.2.1, 16.1.99].
     Required by:
         project :app > com.onesignal:OneSignal:3.15.3
32
      > Skipped due to earlier error

* 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 3m 49s

昨天晚上这个项目运行得很好。旧的提交在我运行时显示相同的错误

EN

回答 1

Stack Overflow用户

发布于 2021-03-16 19:08:02

我也有同样的问题。我等了一个晚上,然后它又开始工作了。这似乎是一个偶然的临时问题,在二进制托盘服务器。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66336729

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档