Questions tagged [google-play-services]

With Google Play services, your Android app can take advantage of the latest, Google-powered features such as Maps, Google+, and more, with automatic platform updates distributed as an APK through the Google Play store. This makes it faster for your users to receive updates and easier for you to integrate the newest that Google has to offer.

Give your Android apps more features to attract users on a wider range of devices. With Google Play services, your app can take advantage of the latest, Google-powered features such as Maps, Google+, and more, with automatic platform updates distributed as an APK through the Google Play store. This makes it faster for your users to receive updates and easier for you to integrate the newest that Google has to offer.

The latest version is 12.6.88, which was released in May 2018.

References:

7207 questions
159
votes
17 answers

Missing api_key/current key with Google Services 3.0.0

Since I upgraded the project with the latest version of google services and libraries (9.0.0), I have this strange issue : Grade console : :app:processDebugGoogleServices Parsing json file:…
palmsnipe
  • 1,703
  • 2
  • 10
  • 7
152
votes
12 answers

updating Google play services in Emulator

I have gone through many questions like this on Google Play, I am using Android 4.2.2 API 17. My app requires Google play services 8.1 , It compiles fine and when it runs on emulator it shows message that 'You need to update your Google play…
151
votes
6 answers

Could not find play-services-basement.aar

Yesterday I tried building my app and everything worked fine. Today, without any changes to the project... All of a sudden I'm greeted with this warning message telling me: Error:Could not find play-services-basement.aar…
SimbaClaws
  • 1,389
  • 2
  • 9
  • 13
138
votes
13 answers

How to show enable location dialog like Google maps?

I use the latest version of Google Play Services (7.0) and followed the steps given in their guide and I enabled the location dialog like below, which has a "never" button. My app needs location mandatorily so I don't want to show "never" to user,…
Mufri A
  • 1,395
  • 2
  • 9
  • 7
133
votes
3 answers

What does google-services.json really do?

I work on adding Google Analytics and GCM services to my current app. On the guide for both services implementation, google asks developer to generate a json file: google-services.json and put it under root directory of the app. I found that even…
130
votes
19 answers

Execution failed for task ':app:mapDebugSourceSetPaths'. > Error while evaluating property 'extraGeneratedResDir' of task

Edit, TLDR: This is most likely a version incompatibility issue. Try to find the compatible google-services Gradle plugin version for your AGP (Android Gradle Plugin) or downgrade your AGP. The selected answer is updated (almost regularly) with…
130
votes
25 answers

Android Studio Gradle: Error:Execution failed for task ':app:processDebugGoogleServices'. > No matching client found for package

I am trying to upgrade my google play services dependencies to 8.4.0 by following the example Google gives here, but I am getting the following error ('com.example.exampleapp' is a replacement for my app package name): Error:Execution failed for…
125
votes
6 answers

Upgrade to Google Play Services:9.0.0 Error Failed to resolve: com.google.android.gms:play-services-measurement:9.0.0

I upgraded my build.gradle file from compile 'com.google.android.gms:play-services:8.4.0' to compile 'com.google.android.gms:play-services:9.0.0' and now I am getting this error that I wasn't getting before. Error:Failed to resolve:…
Philip Herbert
  • 4,599
  • 2
  • 37
  • 40
104
votes
11 answers

How to download Google Play Services in an Android emulator?

I want to use Google Play Services API in my application, but when I open the emulator to test my application it sends me a message that says "Google Play Services must be downloaded". I know that occurs because I coded this test in my MainActivity…
101
votes
5 answers

GoogleSignatureVerifier signature not valid message (google play services 9.0.0)

I have recently updated to the google play services library version 9.0.0, and I keep getting the following logcat message: 05-19 23:07:30.023 19237-19508/? V/GoogleSignatureVerifier: options.developer.com.developeroptions signature not valid. …
meh
  • 22,090
  • 8
  • 48
  • 58
97
votes
5 answers

When should I use ACCESS_COARSE_LOCATION permission?

I am building an Android app that will track the user's geolocation and draw their route on a map. I am using the Google Play Services location API, as described here. It is intuitive that my application requires the ACCESS_FINE_LOCATION permission,…
97
votes
12 answers

How to check Google Play services version?

In my application, I need to check Google Play services version (which is installed in user's device). Is it possible ? And if yes, how can I do that?
Arash Khoeini
  • 1,276
  • 1
  • 11
  • 17
95
votes
11 answers

Android Studio with Google Play Services

I'm trying to test Google Play Services with the new Android Studio. I have a project with a dependency to the google_play_services.jar. But when I try to Rebuild the project I get the following errors: Information:[TstGP3-TstGP3] Crunching PNG…
androidtester
  • 963
  • 1
  • 8
  • 13
94
votes
1 answer

Play Store updates/installs app using a different account than the one the user made IAP through

On this bug report on Github we were asked to raise the issue here. The issue is simple. The user has two or more accounts on their phone, let's say xyz@gmail.com and abc@gmail.com. They install an app with the account xyz@gmail.com. They purchased…
casolorz
  • 8,486
  • 19
  • 93
  • 200
90
votes
18 answers

Adding Google Play services version to your app's manifest?

I'm following this tutorial: https://developers.google.com/maps/documentation/android/start#overview on how to add Google Maps to an app within the Android SDK. The only problem I seem to be having is during this bit (I've done everything else…
Adz
  • 2,809
  • 10
  • 43
  • 61