gpt4 book ai didi

java - Unresolved 依赖关系?

转载 作者:行者123 更新时间:2023-12-03 05:41:07 27 4
gpt4 key购买 nike

我尝试构建我的应用程序,但失败了,仅显示一条消息:
Failed to resolve: play-services-basement
我的应用程序昨天成功构建。自昨天成功构建以来,没有代码更改。我的build.gradle文件中的任何内容均未更改。这太疯狂了。

是否有人对我接下来可以看到的内容有任何建议,以使我的应用程序成功构建?

编辑:一些在线解决方案涉及切换我的存储库列表中的google()jcenter()的顺序,使得google()首先出现,而jcenter()最后出现-但这不能解决我的问题,并且生成仍然失败,并显示相同的消息。

编辑#2:尝试使我的缓存无效并重新启动。构建失败持续存在。我尝试使用debug进行组装,并收到了更具体的消息:
Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar

最佳答案

今天早上我有这个问题XD

将您的图书馆gsm google更新为

    implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-gcm:16.0.0'

关于java - Unresolved 依赖关系?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52954138/

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