Where can I download the Google Play Services SDK 7.8 even if it is a beta?
I need it for the new Google Proximity Beacon API.
I can not get it with Eclipse or Android Studio.
It seems, that some have it allready.
It is here now: Google Play Services 7.8
The APK already started rolling out, just checked and my Nexus 5 and it's already on 7.8.
The APK is just one part though, and if you want to develop apps with Google Services, you also need the client library:
https://developers.google.com/android/guides/overview
The client library (which is what you add to your app to access the Play Services APIs, and which will later talk to the APK on the phone) is something you download via the Android SDK Manager. The latest available revision is still 25 though, which corresponds to Play Services 7.5.
TL;DR, we're still waiting for Play Services 7.8 with the Nearby API to be released in full.
Client library is released to developers when the rollout of Play Services to most of the devices is done. They are probably doing some staged rollouts this time as well, so we need to wait a little bit more.
Related
I'm trying to integrate Firebase Performance Monitoring on an application in which I have already successfully installed Firebase (in fact, I'm already using Crashlytics in this app).
The documentation states that in order to use Firebase Performance Monitoring, the device must have Google Play Services installed.
However, my problem is that I've found what appears to be a bunch of inconsistencies between the documentation and the actual version of Google Play Services available in the Play Store.
The prerequisites section of the documentation states:
Before you begin, you need a few things set up in your environment:
A device running Android 4.0 (Ice Cream Sandwich) or newer, and Google Play services 16.1.2 or higher
Also, further in that same page, it says:
Test your app using an Android emulator with a recent image and Google Play services 15.0.0 or later, or using a test device with Google Play services 15.0.0 or later.
On the other hand, the Play Store app on my device (running Android 6.0.1) shows that I have Google Play Services up-to-date, having version 13.2.80, updated on September 6th, 2018:
On top of that, APK Mirror shows that the most recent stable version to the date is 14.3.66, updated on October 3rd, 2018
Nevertheless, the official release notes show that there are no 13.2.80 or 14.3.66 versions and that starting on version 15.0.0, launched on April 12th (almost six months before 13.2.80!), they use SemVer with different versions for their different products.
So my question is: how do I get the correct version of Google Play Services needed for Firebase Performance Monitoring installed on my device?
Any clarifications on why this 13.2.80 version that I have installed or the 14.3.66 version provided in APK Mirror are not mentioned in the official release notes would be appreciated, too.
You have not got an update by Google on your device (6.0.1), latest versions of Android OS are updated to the stable version of Google play services 14.3.66. So you can test your application on emulators or any other devices.
I recently began learning how to create Google Maps activities in Android app development, and have stumbled onto an issue with Google Play Services. Whenever I set my gradle build dependency to compile 'com.google.android.gms:play-services-maps:11.0.4', which is the most recent version of play-services-maps, the emulator screen gets stuck on the following view upon running my maps app:
I have allowed the app to sit there for over an hour, and nothing has changed or updated. As I've read in other StackOverflow questions, I can get the app to properly function by setting my gradle build dependency to an older version, such as compile 'com.google.android.gms:play-services-maps:9.0.0', but this limits my ability to use newer Android features and APIs in my apps, such as FusedLocationProviderClient.
I am running on Nougat 7.1.1, and have installed the following SDKs in an attempt to solve this Google Play Updating issue:
Android SDK Build-Tools
Android SDK Tools
Google Play APK Expansion Library
Google Play services
Support Repository > Google Repository
I haven't found any StackOverflow threads specific to this "Google Play services are updating" message. What can I do to resolve this issue?
Use API 24 or API 26 Android Emulator system images and you should be good to go. API 25 does not have the latest Google Play Store app pre-installed yet. Note on the screen shot that only these images are "Google Play" versions.
In addition to #Jamal Eason's answer, you may use Nexus 5 and Nexus 5X emulators which have Play Store. Check here. You may also try running on real android device connected via USB that supports google maps and having google play service installed.
I want to incorporate messaging/Push notifications in my Android App and since FCM is the newest version recommended, I just checked the Firebase prerequisites and it says,
Prerequisites
A device running Android 4.0 (Ice Cream Sandwich) or newer, and Google Play services 10.2.0 or higher
The Google Play services SDK from the Google Repository, available in the Android SDK Manager
The latest version of Android Studio, version 1.5 or higher
But, it isn't so that all the devices running ICS will have Google Play Services >= 10.2.0. Infact, this is the latest version of it. So, if I decide to go with FCM, all the devices having Play Services <= 10.2.0 will be out of my reach. If then I decide to bump the version down, Firebase doesn't seem to support any.
I want to use Firebase's and Google Play Services newest features and extend my support for devices running Google Play services >= 9.0.0.
This seems to be a fundamental problem with any library. Android provides Support library to mitigate this.
What is the recommended approach to support all these Play Services versions?
Just have the user update to the latest Google Play Services, by placing checkers. From the docs:
Apps that rely on the Play Services SDK should always check the device for a compatible Google Play services APK before accessing Google Play services features. It is recommended to do this in two places: in the main activity's onCreate() method, and in its onResume() method. The check in onCreate() ensures that the app can't be used without a successful check. The check in onResume() ensures that if the user returns to the running app through some other means, such as through the back button, the check is still performed.
If the device doesn't have a compatible version of Google Play services, your app can call GoogleApiAvailability.makeGooglePlayServicesAvailable() to allow users to download Google Play services from the Play Store.
Every device API 14 or higher (the new minimum SDK version as of 10.2.0) that has Google Play services is automatically upgraded to the latest version of Google Play services - in fact, a new version of the API only becomes available to developers when it is available on 100% of devices.
I might be spoiled having worked on iOS for so long, but does Google release Google Play Service beta versions for developers prior to releasing the full versions to the public?
I'm currently working on an SDK project, and would like to test out the latest Google Play Services versions as early as possible, preferably before the full Google Play Services updates are released, to ensure that the SDK maintains functionality with the latest and greatest.
Am I missing something in the documentation? Is there a place where beta / test versions are announced before a full release?
does Google release Google Play Service beta versions for developers prior to releasing the full versions to the public?
No. They do the opposite -- they do not release the updated Play Services SDK until a preponderance of devices have been updated to be able to support it. If your app is using the new SDK, and it winds up on a device with an old Play Services Framework, part of your use of the SDK will involve prompting the user to upgrade their Play Services Framework.
They do an admirable job on backwards compatibility on the whole, so apps written using earlier versions of the Play Services SDK usually continue to work on devices with new versions of the Play Services Framework.
Is there a place where beta / test versions are announced before a full release?
Announcements about general capabilities are sometimes made on the Android Developers Blog, such as this post about the release of Play Services 6.5.
I just made an app for android, so I try to upload it for ditribution through the play store, but when I upload the apk file, an error shows up saying that I use version 5208000 of the google play services, it say that I need to use version 5100000 or lower, it makes no sense it was just the version that the sdk manager downloaded. It does not have an option to download the previous one, I try to use compile 'com.google.android.gms:play-services:5.0.77' but it says that it is not found. How can I download it? I downloaded the google play services for froyo, I tried using the support library and nothing works. How come I cant use the latest version?
Google Play Services 5.2.08 is the Google Fit Developer Preview and not yet available on all devices. You should use 5.0.89 (which replaced 5.0.77 due to issues in 5.0.77) for production apps at this time.