google-play-services

dialog unknown issue in google play services when try to use Google Drive sample

烈酒焚心 提交于 2019-12-23 15:53:34
问题 I Google more then 4 hour but not getting the solution. I register my app pkg and hash key in app console. I am using sample provided by Google developers. But what happening I don't know. not able to post and image due to less reputation Sorry for my English. 回答1: Make sure you have added your package name and key SHA1 at Google Cloud Console → Your Project → API & auth → Credentials via “Create New Client ID” at “OAuth” section. I got the same result as you described when added information

Gradle plugin google-services does not work with gradle-experimental:0.6.0-alpha7

心已入冬 提交于 2019-12-23 11:35:23
问题 I want to use gradle-experimental:0.6.0-alpha7 to use the NDK build integration in Android Studio 1.5.1. But now my google-services.json is not converted anymore to for instance a R.xml.global_tracker for analytics. I use classpath 'com.android.tools.build:gradle-experimental:0.6.0-alpha7' classpath 'com.google.gms:google-services:2.0.0-alpha6' in my global build.gradle and apply plugin: 'com.android.model.application' apply plugin: 'com.google.gms.google-services' on top of my app gradle

Gradle plugin google-services does not work with gradle-experimental:0.6.0-alpha7

雨燕双飞 提交于 2019-12-23 11:33:13
问题 I want to use gradle-experimental:0.6.0-alpha7 to use the NDK build integration in Android Studio 1.5.1. But now my google-services.json is not converted anymore to for instance a R.xml.global_tracker for analytics. I use classpath 'com.android.tools.build:gradle-experimental:0.6.0-alpha7' classpath 'com.google.gms:google-services:2.0.0-alpha6' in my global build.gradle and apply plugin: 'com.android.model.application' apply plugin: 'com.google.gms.google-services' on top of my app gradle

Detect if other player left unintentionally (e.g. internet disconnection) and reconnect - Google play real time multiplayer

十年热恋 提交于 2019-12-23 09:57:10
问题 I am implementing google play game service real time multiplayer. Currently if I turn off the WIFI on one client the other client doesn't detect that the connection is lost. No PeerDisconnect events are called. 1 - Does the API provide anything to check if the peer is still connected? 2 - Is there any way to let the player reconnect to the room? 回答1: 1 - Does the API provide anything to check if the peer is still connected? As stated in Connecting players, you can monitor the connection

Which dependencies to use between Firebase and Google Play Services?

折月煮酒 提交于 2019-12-23 09:38:04
问题 I recently started playing with Firebase, but I cannot completely understand its relation with Google Play Services. I know that Firebase is a mobile platform, and on Android it is based on Google Play Services, but why there are some modules with the same name of the ones of Google Play Services? For example, in my build.gradle I can have: com.google.android.gms:play-services-auth:9.4.0 com.google.android.gms:play-services-ads:9.4.0 but also: com.google.firebase:firebase-auth:9.4.0 com

Google Maps StackOverflowError crashes [closed]

末鹿安然 提交于 2019-12-23 08:54:58
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Getting the following error even after applying the workaround described here: Is there a workaround/fix to these Google Maps v2 StackOverflowError crashes? Fatal Exception: java.lang.StackOverflowError: stack size 1036KB at java.util.HashMap.remove(HashMap.java:616) at com.google.maps.api.android.lib6.gmm6.util.e

Dex file exceeded 64k after adding Google Play Services 9.0.0

最后都变了- 提交于 2019-12-23 07:59:07
问题 I was following the Firebase guide to adding FCM, and so I added the following dependencies to my app gradle: compile 'com.google.android.gms:play-services:9.0.0' apply plugin: 'com.google.gms.google-services' And this one to my project gradle: classpath 'com.google.gms:google-services:3.0.0' After this, I added the google-services.json from the Firebase console settings by downloading it and adding it to my app directory. Now I'm getting this error: Error:The number of method references in a

Unexpected response code 403 for https://www.googleapis.com/games/v1/players/1123xxxxxx11712506520 and other play-services errors

∥☆過路亽.° 提交于 2019-12-23 07:51:42
问题 I'm trying to make games API work, with reference to https://github.com/playgameservices/android-samples/blob/master/BaseGameUtils/src/com/google/example/games/basegameutils/BaseGameActivity.java as sample code. Mine is quite similar, basically I'm trying to connect a game client and receive a negative answer. When trying to manage it with startResolutionForResult() this is what I got: E/Volley(15638): [1492] il.a: Unexpected response code 403 for https://www.googleapis.com/games/v1/players

PlacePicker doesn't pick up material theme

半腔热情 提交于 2019-12-23 07:47:07
问题 I am using a PlacePicker library from Google Play Services which starts up a new activity. The new activity/picker has a toolbar (actionbar) which is not styled by default. PlacePicker documentation states that If you set custom colors in your application using the material theme, the place picker inherits the colorPrimary and colorPrimaryDark attributes from the theme. I have a theme in my style.xml file: <style name="AppTheme" parent="Theme.AppCompat.Light"> <item name="colorPrimary">

Selective Google Play Services API not finding classes

泪湿孤枕 提交于 2019-12-23 07:36:40
问题 I've updated play services to the latest version, which currently is at 9.2.0 and I also want to use selective modules for the google play services. // compile 'com.google.android.gms:play-services:9.2.0' compile 'com.google.android.gms:play-services-maps:9.2.0' compile 'com.google.android.gms:play-services-analytics:9.2.0' compile 'com.google.android.gms:play-services-gcm:9.2.0' compile 'com.google.android.gms:play-services-location:9.2.0' The issue I'm having, is that now the imports like: