3

I come across this problem when I connected my android app to firebase, when I connect it to firebase authentication it brings this error:

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

Please guide me on how to solve this error.

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114
  • Possible duplicate of [com.google.android.gms:play-services-measurement-base is being requested by various other libraries](https://stackoverflow.com/questions/50577437/com-google-android-gmsplay-services-measurement-base-is-being-requested-by-vari) – Milad Yarmohammadi Oct 28 '18 at 16:45
  • 1
    See the answer here: https://stackoverflow.com/a/52979211/8034839 – shizhen Oct 29 '18 at 00:52

1 Answers1

0

Change your google service class path versionclasspath 'com.google.gms:google-services:3.2.1'