Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiClient = new GoogleApiClient.Builder(this)
- .addApi(Games.API)
- .addScope(Games.SCOPE_GAMES)
- .enableAutoManage(this, new GoogleApiClient.OnConnectionFailedListener() {
- @Override
- public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {
- Log.e(TAG, "Could not connect to Play games services");
- finish();
- }
- }).build();
Add Comment
Please, Sign In to add comment