Com.Google.Android.Gms:Play-Services-Measurement-Base Is Being Requested by Various Other Libraries

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

The actual problem is discussed in the May, 23rd release note of https://developers.google.com/android/guides/releases#may_23_2018

Basically, you need to bump all Play Services and Firebase libraries to their latest version (which may be different for each since version 15).
You may use https://mvnrepository.com/ to find the latest version for each library.

See also: https://firebase.google.com/support/release-notes/android#20180523

Could not resolve com.google.android.gms:play-services-measurement-base:[18.0.0]

in gradle-wrapper.properties change distributionUrl to

distributionUrl=https://services.gradle.org/distributions/gradle-6.5.1-all.zip

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

The actual problem is discussed in the May, 23rd release note of https://developers.google.com/android/guides/releases#may_23_2018

Basically, you need to bump all Play Services and Firebase libraries to their latest version (which may be different for each since version 15).
You may use https://mvnrepository.com/ to find the latest version for each library.

See also: https://firebase.google.com/support/release-notes/android#20180523

Problem with play-services-measurement-base on ionic

No solutions posted here worked for me. A wonderful person opened a pull request in the cordova-firebase-plugin official repo and it works.

Steps I did:

1 - Remove cordova-firebase-plugin with ionic cordova plugin remove cordova-plugin-firebase

2 - Install: ionic cordova plugin add cordova-plugin-firebasex

3 - rm -rf node_modules/ plugins/ platforms/android package-lock.json

4 - ionic cordova platform add android && npm install

And now it's working.

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

Remove
classpath 'com.google.gms:google-services:3.3.0' from your project level Gradle file and upgrade all firebase dependencies to the latest available.

Gradle sync fails - play-services-measurement-base is being requested by various other libraries

Try adding:

com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true

In the bottom of the build.gradle right after:

apply plugin: 'com.google.gms.google-services'

Check this link,

And this link too. It might have the same issue with the version.



Related Topics



Leave a reply



Submit