Guest User

Untitled

a guest
Apr 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. apiClient = new GoogleApiClient.Builder(this)
  2. .addApi(Games.API)
  3. .addScope(Games.SCOPE_GAMES)
  4. .enableAutoManage(this, new GoogleApiClient.OnConnectionFailedListener() {
  5. @Override
  6. public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {
  7. Log.e(TAG, "Could not connect to Play games services");
  8. finish();
  9. }
  10. }).build();
Add Comment
Please, Sign In to add comment