How do I match a Google Play Services revision with an install version?

前端 未结 2 472
有刺的猬
有刺的猬 2020-12-23 22:01

Android SDK Manager notified me this morning that there was a new Google Play Services release to download: revision 18. So how do I find the corresponding long version numb

相关标签:
2条回答
  • 2020-12-23 22:13

    OK, I haven't quite managed to find a mapping of one to the other, but I've managed the next best thing which is to see a list of Play Services long version numbers installed on my development machine.

    For Windows, it's in [android-sdk]\extras\google\m2repository\com\google\android\gms\play-services (where [android-sdk] is the path to your Android SDK folder).

    On a Mac, it's inside the Android.app package: browse to sdk/extras/google/m2repository/com/google/android/gms/play-services

    The latest version on my machine was 5.0.77 (not 5.0.84), and putting that in my build.gradle worked fine.

    Here's the kind of thing you should see at that location:

    Google Play Services versions on Windows

    Google Play Services versions on OSX

    0 讨论(0)
  • 2020-12-23 22:16

    What I did in my project was download google play service and open the project structure > dependencies tab and click on the plus button and choose google play service. I dont have to care about the version anymore

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