GOOGLE_PLAY_SERVICES_UPDATE_REQUIRED
The version of Google Play Services installed on the device needs to be updated for use with the Fairmatic SDK. 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)