gpt4 book ai didi

android - com.google.android.gms :play-services-measurement-base is being requested by various other libraries

转载 作者:行者123 更新时间:2023-12-02 10:58:18 26 4
gpt4 key购买 nike

我更新到gradle 4.0.1并开始收到以下错误

The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[15.0.4,15.0.4]], but resolves to 15.0.2. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.



我的项目没有使用该依赖关系,因此我在全局范围内进行搜索,并且它仅出现在内部

build/intermediates/lint-cache/maven.google/com/google/android/gms/group-index.xml



作为这条线
<play-services-measurement-base versions="15.0.0,15.0.2"/>

因此,我尝试删除构建文件夹并清理项目,但是它使用相同的值重新生成它:/因此仍然存在错误

最佳答案

实际问题在https://developers.google.com/android/guides/releases#may_23_2018的23月5月发行说明中进行了讨论

基本上,您需要将所有Play服务和Firebase库升级到最新版本(,自版本15 以来,每个库可能有所不同)。
您可以使用https://mvnrepository.com/查找每个库的最新版本。

另请参阅:https://firebase.google.com/support/release-notes/android#20180523

关于android - com.google.android.gms :play-services-measurement-base is being requested by various other libraries,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53466583/

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