Google Play services out of date. Requires 11011000 but found 10289574

前端 未结 8 1176
后悔当初
后悔当初 2020-11-29 11:05

I\'ve been strugling with this problem about week now. Been searching similar topics about this but still can\'t resolve my problem.

The Prolem is that when i\'m try

相关标签:
8条回答
  • 2020-11-29 11:20

    The problem here is the mismatch of google play services (version) on emulator and gradle file.

    It can be solved by two ways:

    1. Remove the mismatch by downgrading the version of google play services (version) in gradle file to the Google Play Services (version) of the emulator.

    2. Upgrade the Google Play Services on the emulator.

    0 讨论(0)
  • 2020-11-29 11:30

    This has been an ongoing issue with Wear for years (see for example Android Wear Google Play Services).

    The best solution seems to be to not use the latest Play Services release. One option is to find a minimum version that seems to cover your targeted production devices; in your case, this sounds like something in the 10.2 range. Alternatively, pick the lowest release that includes all the functionality you need (I personally am using 9.8.0).

    For reference, here is the Play Services release history: https://developers.google.com/android/guides/releases

    0 讨论(0)
  • 2020-11-29 11:31

    Sometimes this error my occur when you pass the wrong web-client-id value

    val gso = GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                    .requestIdToken(**web-client-id here**)
                    .requestEmail()
                    .build()
    

    Use the value in the OAuth client id section indicated Web client (auto created by google service

    0 讨论(0)
  • 2020-11-29 11:34

    You have to upgrade Google Play Services and APIs for the image your emulator is using. Check out this answer, worked out for me (Android Studio 3.1): https://stackoverflow.com/a/49751932/2292056

    0 讨论(0)
  • 2020-11-29 11:38

    Create emulator Nexus 5x with Android version O - api 26 - x86 or Android version Nougat - api 24 - x86

    Then click on the 3 dots in the emulator and this will open the extanded window, there click on Google Play + update. And that will update Google Play Services to the latest update thats 11.0.55 today.

    0 讨论(0)
  • My solution is super weird: Goto Settings -> Apps -> System Apps -> Google Play Store My version was 10xxxxx which is weird because my watch updated on boot. So, I clicked Remove Update and the version changed to 11xxxxxx.

    0 讨论(0)
提交回复
热议问题