2
Google Play 게임 서비스의 GamesClient 객체를 설정하는 데 문제가 있습니다.Google 게임 서비스 GamesClient 생성자가 정의되지 않았습니다. Android
그래서 BaseGameUtilities를 확장하는 주요 활동이 있습니다. 에서 onCreate() 메소드에서 나는 내가 오류 얻을 이클립스에서 내 GamesClient는 변경
GamesClient.Builder gameClientBuilder = new GamesClient.Builder(getBaseContext(), this, this);
을 설정하려고하면 "생성자 GamesClient.Builder을 (문맥, MainActivity, MainActivity가) 정의되지 않는다"나는이
또한 성공없이 다음과 같은 호출을 시도 :
GamesClient.Builder gameClientBuilder = new GamesClient.Builder(this, this, this);
및
GamesClient gameClient = new GamesClient.Builder(getBaseContext(), this, this).create();
,
및
GamesClient gameClient = new GamesClient(getBaseContext(), this, this).create();
나는 이것이 내가이를 호출하고, 아니면이를 호출하고 어떻게 함께 할 곳 때문입니다 있는지 확실하지 않습니다. 도움이 많이 감사!
건배