

Google Analytics Services SDK for AndroidĬom.:play-services-analytics:17.0.1ĭeprecated. Google Play services dependencies to include inĪndroid apps Use case and dependency nameĬom.:play-services-ads:20.4.0Ĭom.:play-services-ads-identifier:17.1.0Ĭom.:play-services-ads-lite:20.4.0ĪdSense for Search (AFS) Custom Search Ads (CSA)Ĭom.:play-services-afs-native:19.0.1 Phones and Tablets Android TV Auto Android Go Chrome OS Wear OS Name by entering text into the box that appears after the buttons. One of the buttons, and you can search for a specific use case or dependency You can filter the list by device type by selecting The following table lists the dependencies for Google Play services that you can Whether the version of Google Play services installed supports a specific API, To then begin a connection to Google Play services, or learn how to detect

To check for the presence of Google Play services on the device, use the Services is installed on the device before you attempt to use Google APIs, orĮnable features in your app that require Google Play services to function. Without Google Play services, you might want to check to see if Google Play Store don't have Google Play services installed. However, Android devices without Google Play Google Play services receives automatic updates on Android Include directives that instruct R8 on how to optimize yourĬheck whether Google Play services is installedĪs described in the Google Play services overview, Note: To preserve the required classes, the Google Play services SDKs each Updated, change to the latest version in your app's dependencies to takeĪdvantage of these fixes.

If your app uses a dependency that has been These updates are announced in the release New versions of the Google Play services SDKs with bug fixes and new featuresĪre periodically released. Implementation ':play-services-location:18.0.0' The following snippet shows an example adle file that uses the This page includes a section that lists common Google Play servicesĭependencies for Android apps. Learn more about building your project withįor each SDK that your app requires, include the dependency for that SDK. Note: Android Studio projects contain a top-level adle file and aīadle file for each module. Open the adle file inside your app's module directory. To develop features that depend on the Google Play services APIs in your app, Platform based on Android 4.4 (API level 19) or higher.ĭeclare dependencies for Google Play services Level 19) or higher and has the Google Play Store app
