2013-07-18 2 views
2

Google에서 제공 한 TypeANumberChallenge 샘플 게임을 만들 수 없습니다 (GitHub 참조). 다음과 같은 오류 메시지가있어 :Google 게임 서비스 서비스 오류 : 샘플 게임을 만들 수 없습니다.

The project was not built since its build path is incomplete. Cannot find the class file for com.google.android.gms.games.GamesClient. Fix the build path then try building this project 

The type com.google.android.gms.games.GamesClient cannot be resolved. It is indirectly referenced from required .class files MainActivity.java /TypeANumber/src/com/kerrywei/games/tanc 

을 나는 프로젝트 라이브러리 BaseGameUtils을 포함하고 구글 플레이-서비스-lib 디렉토리를 readmeGoogle Play Services Guides 설명 만, 여전히 오류가 발생했습니다, 그냥 컴파일 할 수 없습니다로했다. ..

업데이트 : 나는 전체 과정을 TypeANumberChallenge을 제거하고 다시 시도 및 라이브러리로 BaseGameUtils을 추가하려고 새로운 오류가있어 :

An internal error occurred during: "Android Library Update". 
Path must include project and resource name: /BaseGameUtils 
,536을

답변

2

문제는 당신이 구글 플레이-services_lib을 업데이트하는 경우

+0

당신이 될 것입니다 .. Google Play Services Guides

  1. Make a copy of the Google Play services library project. Copy the library project at <android-sdk>/extras/google/google_play_services/libproject/google-play-services_lib/ to the location where you maintain your Android app projects. If you are using Eclipse, import the library project into your workspace. Click File > Import, select Android > Existing Android Code into Workspace, and browse to the copy of the library project to import it.

직접 SDK 폴더에 lib 디렉토리 프로젝트를 사용할 수 없습니다 ... 어떤 농담을 읽어 해결 프로젝트를 다시 가져 오는 데 필요합니다. 새 버전 업데이트는 Eclipse 작업 공간에 자동으로 추가되지 않으며 SDK 폴더에만 추가되므로 다른 Eclipse 프로젝트에는 표시되지 않습니다. – dmanxiii

관련 문제