The Google Play Store gets frequent updates, which is great news. The not-so-great news is that it can take weeks, or for some people even longer, to get the latest iteration. Google Play Store APK Saturday, October 20, 2018. Google Play Store Latest Version. The latest version is Google Play Store 12.2.13-all 0 PR 217641283. Sep 25, 2019 Basically, Google Play Store Latest APK 16.8.17-all (81681700) 2019 is the center of everything to add to Android devices for various purposes.
To develop an app using theGoogle Play services APIs, you need to set upyour project with the Google Play services SDK, which is available from theGoogle maven repository.
For more detailed instructions, and to learn more about Android Studio andrelated SDK tools, seeUpdate the IDE and SDK Tools.
To test your app when using the Google Play services SDK, you must use either:
- A compatible Android device that runs Android 4.1 orhigher and includes Google Play Store.
- The Android emulator with anAVD that runs the GoogleAPIs platform based on Android 4.2.2 or higher.
Add Google Play Services to Your Project
To make the Google Play services APIs available to your app:
- Open the
build.gradle
file inside your application module directory.Note: Android Studio projects contain a top-level
build.gradle
file and abuild.gradle
file for each module. Be sure toedit the file for your application module. SeeBuilding Your Project with Gradle for more information about Gradle. - Add a new build rule under
dependencies
for the latest version ofplay-services
, using one of the APIs listed below. - Ensure that your top-level
build.gradle
contains a reference to thegoogle()
repo or tomaven { url 'https://maven.google.com' }
. - Save the changes, and click Sync Project with Gradle Files in the toolbar.
You can now begin developing features with theGoogle Play services APIs.
Selectively compiling APIs into your executable
Table 1 shows a list of the separate APIs that you can include when compiling your app, andhow to describe them in your build.gradle
file.
Note: Don't use the combined play-services
target. It brings in dozens of libraries, bloating your application. Instead, specify only the specific Google Play services APIs your app uses.
Table 1. Individual APIs and corresponding build.gradle
descriptions.
API | Description in build.gradle |
---|---|
Google Account Login | com.google.android.gms:play-services-auth:19.0.0 |
Google Actions, Base Client Library | com.google.android.gms:play-services-base:17.5.0 |
Google Sign In | com.google.android.gms:play-services-identity:17.0.0 |
Google Analytics | com.google.android.gms:play-services-analytics:17.0.0 |
Google Awareness | com.google.android.gms:play-services-awareness:18.0.1 |
Google Cast | com.google.android.gms:play-services-cast:19.0.0 |
Google Cloud Messaging | com.google.android.gms:play-services-gcm:17.0.0 |
Google Drive | com.google.android.gms:play-services-drive:17.0.0 |
Google Fit | com.google.android.gms:play-services-fitness:20.0.0 |
Google Location and Activity Recognition | com.google.android.gms:play-services-location:17.1.0 |
Google Mobile Ads | com.google.android.gms:play-services-ads:19.7.0 |
Mobile Vision | com.google.android.gms:play-services-vision:20.1.3 |
Google Nearby | com.google.android.gms:play-services-nearby:17.0.0 |
Google Panorama Viewer | com.google.android.gms:play-services-panorama:17.0.0 |
Google Play Game services | com.google.android.gms:play-services-games:21.0.0 |
SafetyNet | com.google.android.gms:play-services-safetynet:17.0.0 |
Google Pay | com.google.android.gms:play-services-wallet:18.1.1 |
Wear OS by Google | com.google.android.gms:play-services-wearable:17.0.0 |
build.gradle
file, for example:Be sure you update this version number each time Google Play services is updated.Note: ProGuard directives are included in the Play servicesclient libraries to preserve the required classes. TheAndroid Plugin for Gradleautomatically appends ProGuard configuration files in an AAR (Android ARchive) package and appendsthat package to your ProGuard configuration. During project creation, Android Studio automaticallycreates the ProGuard configuration files and build.gradle
properties for ProGuard use.To use ProGuard with Android Studio, you must enable the ProGuard setting in yourbuild.gradle
buildTypes
. For more information, see theProGuard guide.
Ensure Devices Have the Google Play services APK
As described in the Google Play services overview, Google Play delivers serviceupdates for users on Android 4.1 and higher through the Google Play Store app.However, updates might not reach all users immediately, so your app shouldverify the version available before attempting to perform API transactions.
Google Play Store Latest Apk
Note:Google Play Store Newest Version Apk
Because it is hard to anticipate the state of each device, you must always checkfor a compatible Google Play services APK before you access Google Play services features.Because each app uses Google Play services differently, it's up to you decide the appropriateplace in your app to verify the Google Play services version. For example, if Google Play servicesis required for your app at all times, you might want to do it when your app first launches. On theother hand, if Google Play services is an optional part of your app, you can check the versiononly once the user navigates to that portion of your app.
Another approach is to use theisGooglePlayServicesAvailable()
method. You get a reference to the singleton object that provides this methodusing GoogleApiAvailability.getInstance()
.You might call this method in theonResume()
method ofthe main activity. If the result code isSUCCESS
, then the Google Playservices APK is up-to-date and you can continue to make a connection. If, however, the result codeis SERVICE_MISSING
,SERVICE_VERSION_UPDATE_REQUIRED
,or SERVICE_DISABLED
,then the user needs to install an update. In this case, call thegetErrorDialog()
method and pass it the result error code. The method returns aDialog
youshould show, which provides an appropriate message about the error and provides an action thattakes the user to Google Play Store to install the update.
To then begin a connection to Google Play services (required by most Google APIs such as GoogleDrive, Google+, and Games), readAccessing Google APIs.