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.
- Google Play Service For Android 4.2 2 Free Download
- Google Play Service For Android 4.2.2
- Free Download Google Play Services For Android 4.2.2 Windows 7
Google Play Service For Android 4.2 2 Free Download
DOWNLOAD LINK File name: com.google.android.gms-4.2.39.apk (11.5 MB) STEP-BY-GUIDE TO INSTALL GOOGLE PLAY SERVICES APP APK 4.2.39. Below is a neat and noob proof guide for installing Google Play.
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
Google Play Service For Android 4.2.2
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.
APIDescription in build.gradle
Google+com.google.android.gms:play-services-plus:17.0.0
Google Account Logincom.google.android.gms:play-services-auth:17.0.0
Google Actions, Base Client Librarycom.google.android.gms:play-services-base:17.1.0
Google Sign Incom.google.android.gms:play-services-identity:17.0.0
Google Analyticscom.google.android.gms:play-services-analytics:17.0.0
Google Awarenesscom.google.android.gms:play-services-awareness:17.1.0
Google Castcom.google.android.gms:play-services-cast:17.1.0
Google Cloud Messagingcom.google.android.gms:play-services-gcm:17.0.0
Google Drivecom.google.android.gms:play-services-drive:17.0.0
Google Fitcom.google.android.gms:play-services-fitness:18.0.0
Google Location and Activity Recognitioncom.google.android.gms:play-services-location:17.0.0
Google Mobile Adscom.google.android.gms:play-services-ads:18.3.0
Mobile Visioncom.google.android.gms:play-services-vision:19.0.0
Google Nearbycom.google.android.gms:play-services-nearby:17.0.0
Google Panorama Viewercom.google.android.gms:play-services-panorama:17.0.0
Google Play Game servicescom.google.android.gms:play-services-games:19.0.0
SafetyNetcom.google.android.gms:play-services-safetynet:17.0.0
Google Paycom.google.android.gms:play-services-wallet:18.0.0
Wear OS by Googlecom.google.android.gms:play-services-wearable:17.0.0
Include any of the above dependencies into your app 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.gradlebuildTypes
. For more information, see theProGuard guide.
Free Download Google Play Services For Android 4.2.2 Windows 7
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.
Note: 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.