Google Play 서비스는 Android 2.3.3 이상에서 지원됩니다.
출력 결과에 애플리케이션에 Google Play 서비스 v6.1.71이 필요하다는 메시지가 표시됩니다. 당신은 아마 당신의 build.gradle 파일이 있습니다
compile 'com.google.android.gms:play-services:6.1.71' // or 6.1.+
출력의 두 번째 부분 "하지만 5,053,030 발견은"당신의 장치가 구글 응용 프로그램 요구되는 것보다 낮은 서비스 Play 앱을 의미합니다. Google Play 서비스 앱은 결국 기기에서 자동으로 업데이트됩니다.
애플리케이션에이 코드 스 니펫을 사용하면 사용자가 기기에 설치된 Google Play 서비스 앱의 버전을 시도하고 업데이트 할 수있는 대화 상자가 표시됩니다.
/**
* Check the device to make sure it has the Google Play Services APK. If
* it doesn't, display a dialog that allows users to download the APK from
* the Google Play Store or enable it in the device's system settings.
*/
public static boolean checkGooglePlayServices(Activity activity) {
int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(activity);
if (resultCode != ConnectionResult.SUCCESS) {
if (GooglePlayServicesUtil.isUserRecoverableError(resultCode)) {
GooglePlayServicesUtil.getErrorDialog(resultCode, activity, 9000).show();
}
return false;
}
return true;
}
어떤 Android 버전을 지원 하시겠습니까? – tyczj