How to specify play-services-location

Viewed 10272

I would like to use googlePlayServicesVersion 16.1.0, but than I get

Could not find com.google.android.gms:play-services-location:16.1.0

I have tried adding implementation 'com.google.android.gms:play-services-location:16.0.0' inside app/build.gradle dependencies

I have added googlePlayServicesVersion = "16.1.0" inside android/build.gradle

1 Answers

The version com.google.android.gms:play-services-location:16.1.0 doesn't exist.

You can use one of these:

com.google.android.gms:play-services-location:16.0.0
com.google.android.gms:play-services-location:17.0.0

You can also check the in maven google repo:

enter image description here

Related