0

現在、Google Playサービスには問題があります。このメッセージによれば、サービスは利用できません。他のメッセージは次のとおりです。例外GooglePlayServicesはエラー2のため利用できません

Google Play services out of date. Requires 11400000 but found 11302470 

質問は、私は(私がプレイサービス - 場所使用しない:11.4.2)Google Playのサービスを更新することができるか今私は何を持ってこれに

10-08 15:03:55.711 3680-3680/com.mypackage E/GooglePlayServicesUtil:  
GooglePlayServices not available due to error 2 
10-08 15:03:55.713 3680-3680/com.mypackage W/System.err: com.google.android.gms.common.GooglePlayServicesRepairableException: Google Play Services not available 
10-08 15:03:55.713 3680-3680/com.mypackage W/System.err:  at 
com.google.android.gms.common.zzo.zzbj(Unknown Source) 
10-08 15:03:55.713 3680-3680/com.mypackage W/System.err:  at 
com.google.android.gms.common.zze.zzbu(Unknown Source) 
10-08 15:03:55.713 3680-3680/com.mypackage W/System.err:  at 
com.google.android.gms.location.places.ui.zzb.build(Unknown Source) 
10-08 15:03:55.713 3680-3680/com.mypackage W/System.err:  at com.google.android.gms.location.places.ui.PlaceAutocomplete$IntentBuilder.build(Unknown Source) 

はよると(必要な)地図を設定するように変更してください。誰か助けてくれますか?

答えて

0

Google Playサービスのバージョンを確認し、返品の種類に基づいてエラーメッセージを表示する必要があります。

私が使用するちょっとした方法です。

private void checkGooglePlayServices(){ 
     switch (GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this)){ 
      case ConnectionResult.SERVICE_MISSING: 
       GoogleApiAvailability.getInstance().getErrorDialog(this,ConnectionResult.SERVICE_MISSING,0).show(); 
       break; 
      case ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED: 
       GoogleApiAvailability.getInstance().getErrorDialog(this,ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED,0).show(); 
       break; 
      case ConnectionResult.SERVICE_DISABLED: 
       GoogleApiAvailability.getInstance().getErrorDialog(this,ConnectionResult.SERVICE_DISABLED,0).show(); 
       break; 
     } 
    } 

エラー2ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED

です