Search code examples
androidgoogle-play-serviceslegacy

Reliable source for older releases of Google Play Services API


I'm working on an App that uses Google Play Services' GcmNetworkManager. This feature was introduced in v7.5, so to maximize the number of devices where my app will not need to ask the user to update Google Play Services, I would like to build my app against that version of the API files.

Unfortunately, I don't seem to be able to select an older version in the Android SDK Manager. There are several websites that come up in a Google search that provide older API versions, but none of them seem to be official Google pages, so I'm a little hesitant to use them for security reasons.

I'd also rather not use the trick suggested in the answer to a similar question here (https://stackoverflow.com/a/32859695/1217178) since I have no idea whether there are parts of the API that will crash if they are tricked into executing against an untested older version of the APK.


Solution

  • I guess I should have searched a bit longer... Here's the answer I was looking for:

    https://stackoverflow.com/a/26838281/1217178

    More specifically:

    The v7.5.71 API files are available at
               https://dl-ssl.google.com/android/repository/google_play_services_7571000_r25.zip