Raj
Raj

Reputation: 29

com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]]

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

This error always appears whenever i add the below plugin to my project which is connected to firebase. apply plugin:'com.google.gms.google-services'

Upvotes: 1

Views: 1263

Answers (2)

Pankaj Yadav
Pankaj Yadav

Reputation: 93

com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true put it on the bottom of build.gradle

Upvotes: 1

Tammana Nankani
Tammana Nankani

Reputation: 41

Just upgrade your google-play services library to this in your build.gradle at the project level:

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

And if using for firebase-auth add the library in the build.gradle at the app level:

implementation 'com.google.android.gms:play-services-auth:16.0.1'

Upvotes: 0

Related Questions