GOOGLE_PLAY_SERVICES_UNAVAILABLE
Google play services unavailable on the device. Application may prompt users to install Google play services and try again. For prompting the user to resolve the issue:
GoogleApiAvailability googleAPI = GoogleApiAvailability.getInstance(); int result = googleAPI.isGooglePlayServicesAvailable(this); if(result != ConnectionResult.SUCCESS) { if(googleAPI.isUserResolvableError(result)) { googleAPI.getErrorDialog(this, result, PLAY_SERVICES_RESOLUTION_REQUEST).show(); } }
See Also: GoogleApiAvailability (https://developers.google.com/android/reference/com/google/android/gms/common/GoogleApiAvailability)