且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android Studio错误库com.google.android.gms:play-services-measurement-base

更新时间:2023-01-15 13:31:25

据报道此处:

您需要将后一个依赖项的版本更新为 15.0.2 .这解决了Google Services Gradle插件版本 3.3.0 所报告的问题:各种其他库都在[[]上请求库com.google.android.gms:play-services-measurement-base. [15.0.0,15.0.0],[15.0.2,15.0.2]],但解析为15.0.2 ...

You will need to update the version of the latter dependency to 15.0.2. This addresses the issue where version 3.3.0 of the Google Services Gradle plugin reports: The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[15.0.0,15.0.0], [15.0.2,15.0.2]], but resolves to 15.0.2...

然后将您的Google Play服务插件更新为 3.3.0

Then update your google play services plugin to 3.3.0

classpath 'com.google.gms:google-services:3.3.0'

并将依赖项更新为 15.0.2 .