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
How to Add Apache Http API (Legacy) as Compile-Time Dependency to Build.Grade for Android M
Get the Current Language in Device
Android Studio 0.4 Duplicate Files Copied in APK Meta-Inf/License.Txt
Calling Startactivity() from Outside of an Activity Context
How to Execute Async Task Repeatedly After Fixed Time Intervals
Finish All Activities at a Time
Android Paint: .Measuretext() VS .Gettextbounds()
Accessing Localhost of Pc from Usb Connected Android Mobile Device
How to Bring an Activity to Foreground (Top of Stack)
Recyclerview Horizontal Scroll Snap in Center
Lollipop's Backgroundtint Has No Effect on a Button
Is There Any Way in Android to Get the Height of Virtual Keyboard of Device
Fragment Myfragment Not Attached to Activity
How to Handle Back Button in Activity
How to Zip and Unzip a String Using Gzipoutputstream That Is Compatible with .Net
Could Not Find Com.Android.Tools.Build:Gradle:3.0.0-Alpha1 in Circle Ci