누락되었을 때 나는 플레이 서비스가 평소와 같이 사용할 수 있는지 여부를 확인하는 코드를 구현 한 ConnectionResult.SUCCESS를 반환isGooglePlayServicesAvailable는() 서비스가
mGooglePlayServicesAvailable = false;
GoogleApiAvailability apiAvailability = GoogleApiAvailability.getInstance();
int resultCode = apiAvailability.isGooglePlayServicesAvailable(this);
if (resultCode == ConnectionResult.SUCCESS) {
mGooglePlayServicesAvailable = true;
}
else if (apiAvailability.isUserResolvableError(resultCode)) {
apiAvailability.getErrorDialog(this, resultCode, RC_AVAILABILITY).show();
}
내 문제의 resultCode이 경우에도 ConnectionResult.SUCCESS 것 같다입니다 서비스가 누락되었습니다. 많은 기기에서 안드로이드 앱이 다운됩니다.
P. logcat에서 다음 줄을 볼 수 있습니다. 다소 이상합니다.
E/GooglePlayServicesUtil(12419): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
이 동작을 일으킬 수있는 것에 대한 아이디어가 있습니까? 아니면 게임을 사용할 수 있는지 확인하는 더 좋은 방법이 있습니까?
미리 감사드립니다.