-2

when i update google play service i get this error message:

The import com.google.android.gms.common.GooglePlayServicesClient cannot be resolved

and I imported the new google play service and no thing changed

Wesley
  • 4,084
  • 6
  • 37
  • 60
Amr
  • 100
  • 2
  • 10

3 Answers3

2

It's obsoleted, and please use GoogleApiClient instead.

xizzhu
  • 895
  • 6
  • 9
  • i get another error The type MainActivity must implement the inherited abstract method GoogleApiClient.ConnectionCallbacks.onConnectionSuspended(int) – Amr Mar 21 '15 at 09:54
1

Although @xizzhu and @Pedro Magalhães are right that GooglePlayServicesClient is now deprecated and that GoogleApliClient should be used instead, as a quick fix the last version of the google-play-services_lib library to include GooglePlayServicesClient (version 6.5.87) can be downloaded from https://dl-ssl.google.com/android/repository/google_play_services_6587000_r22.zip.

See this answer for a full list of links to older versions of the library.

Community
  • 1
  • 1
zelanix
  • 3,326
  • 1
  • 25
  • 35
0

GooglePlayServicesClient is deprecated, you must use GoogleApliClient.

You can find a better explanation and examples of how to use here.

Community
  • 1
  • 1