2015-01-13 2 views
0

기본 Android 게임에 Google 게임 서비스를 추가하려고합니다. gpg::GamesServices::Builder::Create는 NULL을 반환하고, 다음은 로그 캣에서 인쇄 :GamesNativeSDK "임베디드 jar에서 추가 클래스를로드 할 수 없습니다."

gpg::AndroidInitialization::JNI_OnLoad(javaVM); 
gpg::AndroidPlatformConfiguration platform_configuration; 
platform_configuration.SetActivity(activity); 
gpg::GamesServices::Builder builder; 
service = builder 
    .SetOnAuthActionStarted([this](gpg::AuthOperation op) { OnAuthActionStarted(op); }) 
    .SetOnAuthActionFinished([this](gpg::AuthOperation op, gpg::AuthStatus status) { OnAuthActionFinished(op, status); }) 
    .EnableSnapshots() 
    .Create(platform_configuration); 

내 project.properties 포함 :

E/GamesNativeSDK(pid): Error emptying previous jar directory. 
E/GamesNativeSDK(pid): Could not load additional classes from embedded jar. 

내 네이티브 코드는 매우 간단입니다

android.library.reference.3=extras/play_services/library 

어느 I Google Play 서비스 라이브러리를 넣어주세요. 개미를 돌릴 때 extras/play_services/library/bin/classes.jarlib/google-play-services.jar

나는 프로 가드를 사용하지 않는다.

답변

관련 문제