0
votes

When I update Gradle google play services Ads Dependency to the latest version 17.1.2

      **implementation 'com.google.android.gms:play-services-ads:17.1.2**'

Conflicting issues found saying: All gms/firebase libraries must use the same version. Examples include implementation 'com.google.android.gms:play-services-ads:17.1.2 and implementation 'com.google.android.gms:play-measurement-base:16.0.5.

Note: I have not even used firebase anywhere in the app and I update the ads dependency from version 15.0.1.

2
please show project root build.gradle file as well as app build.gradle fileAbhishek Aryan
Which version of Android Studio are you using?zfromg
Yeah, the problem solved after updating Android Studio from 3.0 to 3.2.1. Thank youAli Jzz

2 Answers

1
votes

Use

implementation 'com.google.android.gms:play-services-ads:16.0.1'
implementation 'com.google.android.gms:play-services-measurement-base:16.0.1'

Hope it helps.

0
votes

you have to choice first update all google dependency with same version or second one is remain dependency with old version.