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
4
votes
1 answer

Google Games Services data is gone after uninstalling app

I've integrated Google Play Services into my app and I'm currently using Leaderboards and Achievements. I lately uninstalled the app and reinstalled it. Now the highscore and achievements are gone. Does this mean that one has to save this "sensible"…
user2224350
  • 2,262
  • 5
  • 28
  • 54
4
votes
1 answer

Calling Google Play Services GoogleApiClient.connect() from Activity onStart() causes intermittent OpenGL crash (NvRmChannelSubmit errors etc.)

I updated our app to Google Play Services rev 17, this required changing our app's 3D activity from Activity to FragmentActivity. We also now call GoogleApiClient.connect() much earlier than we used to because google recommends calling…
mwk
  • 1,959
  • 1
  • 14
  • 22
4
votes
1 answer

Should you connect and disconnect to Google Play Services in each activity?

I am writing an application which needs a connected location client in all the activities. How do the manage the state of the client? I want to call the mLocationClient.connect() only once to avoid hassle, and should be able to remove location…
4
votes
2 answers

Does PRIORITY_BALANCED_POWER_ACCURACY exclude the GPS provider?

Got this from How much accuracy does PRIORITY_BALANCED_POWER_ACCURACY give? The HIGH_ACCURACY mode use all location providers, However, it prioritize the location providers and include GPS along with location providers. The location accuracy is…
Huy T
  • 1,273
  • 1
  • 11
  • 21
4
votes
2 answers

Cordova build problems after import google play service

After the new update of the admob SDK now we need to import the google play service project to our projects to monetize and show ads in our apps. I am creating an app with Apache Cordova/ Phonegap and I created the android project with it and…
matheus.rocha89
  • 309
  • 6
  • 15
4
votes
2 answers

Admob - The banner shows a black background and no ad

I'm using Ionic Framework, and this plugin: https://github.com/floatinghotpot/cordova-plugin-admob When I deployed the app to the android phone, I see a black rectangle, but no ad. I don't really know what's happening.. This is my…
4
votes
1 answer

LocationClient - Mock Locations

I'm using the LocationClient which works good. Now I'm trying to create mock locations (setMockMode(true) + setMockLocation(mockLoc). But onLocationChanged of my LocationListener isn't called. What can be the problem? I followed this:…
4
votes
1 answer

In-App Billing query inventory returns SOME (not all) items

I have created 5 items (products) in my developer console but when using QueryInventory to get the SkuDetails of the items, it only returns 4 of them, so I get a Null Pointer Exception when trying to get the details of the not-fetched product.…
fersarr
  • 3,399
  • 3
  • 28
  • 35
4
votes
2 answers

How to install google play services automatically with my android application

I have an android application that needs google play services. Is there a option to put code inside my application to download and install google play services automatically if missing. I don't want users to download and install google play services…
rajeevraj33
  • 61
  • 1
  • 4
4
votes
3 answers

How to add library google play service in android studio successfully

I try to add library google play service to project via Maven in android studio, but it get many issues. First Issue is Multiple dex files define : repositories { mavenCentral() } dependencies { compile fileTree(dir: 'libs', include:…
Dong Le
  • 107
  • 2
  • 12
4
votes
0 answers

Weird crash with latest Google Play Services

I've just added the latest Google Play Services 4.3 to my company's application, in order to use the integrated Google Analytics SDK and DFP. Once into production, this weird crash started popping up. java.lang.NullPointerException: null result when…
4
votes
1 answer

Google Play Game Services LibGDX Project Setup with latest BaseGameUtils

It's my first post but I couldn't solve this one on my own or with Google searches. Any insight will be seriously considered and so very appreciated. I am working with the LibGDX framework and My goal is to have working Achievements & Leaderboards…
4
votes
1 answer

LocationClient not connected in "onConnected" method

Has someone already had this problem: - I'm initializing a LocationClient, with ConnectionCallbacks and so on... - Then, I call "connect()" on it. - In my "onConnected" method, I call myLocationClient.getLastLocation(), which makes the app crash on…
Jeje Doudou
  • 1,707
  • 1
  • 16
  • 24
4
votes
0 answers

Support ActionBar and GameBaseActivity

I want to use the support action bar so I need to extend my activity from ActionBarActivity in the support library. However my activity is ready extending from BaseGameActivity... I tried to modify the BaseGameActivity to extend from…
Qianqian
  • 2,104
  • 18
  • 28
4
votes
3 answers

Google Plus Cross-Platform Single Sign-On: onConnected never called in a fresh install

I'm trying to implement "cross device sign-on" using Google Plus in my Android app. How to implement this is not very well documented, and the best documentation I have found is this video, and these sample apps in github. Given the code of the…
GaRRaPeTa
  • 5,459
  • 4
  • 37
  • 61