google-play-services

Using Android Studio 2.0 emulator with Google Services

非 Y 不嫁゛ 提交于 2020-01-03 11:13:14
问题 According to an article in the Android Developers Blog, regarding the release of Android Studio 2.0: Android Emulator - The new emulator runs ~3x faster than Android’s previous emulator, and with ADB enhancements you can now push apps and data 10x faster to the emulator than to a physical device. Like a physical device, the official Android emulator also includes Google Play Services built-in , so you can test out more API functionality. Finally, the new emulator has rich new features to

Is GoogleAuthUtil.getToken() thread safe?

不打扰是莪最后的温柔 提交于 2020-01-03 03:29:19
问题 After I read Verifying Back-End Calls from Android Apps (http://android-developers.blogspot.tw/2013/01/verifying-back-end-calls-from-android.html), I also read Google Play services and OAuth Identity Tools (http://android-developers.blogspot.tw/2012/09/google-play-services-and-oauth-identity.html) and it says "You should call GoogleAuthUtil.getToken() to get a token before each set of GETs or POSTs; it’s smart about caching things appropriately, and also about dealing with token expiry and

Google plus ane air native extension failed resolving interface

这一生的挚爱 提交于 2020-01-03 03:00:29
问题 I am attempting to add Google Plus support to an Air mobile app by creating a native extension. The code works in a standalone project however attempting to use it as a native extension produces the following error: Failed resolving Lcom/myname/ane/sharingextensions/googleplus/GooglePlusConnect; interface 479 'Lcom/google/android/gms/common/api/GoogleApiClient$ConnectionCallbacks;' 04-08 15:51:29.573: W/dalvikvm(19956): Link of class 'Lcom/myname/ane/sharingextensions/googleplus

Google Play Game Services integration fails with “Play Games callback indicates connection failure.”

六月ゝ 毕业季﹏ 提交于 2020-01-02 06:23:51
问题 I have integrated Google Game Services with my NDK game using the minimalist code example. When starting the app, the authentication fails with this in the logs: V/GamesNativeSDK( 7212): Play Games callback indicates connection failure. I/GamesNativeSDK( 7212): UI interaction required to connect to Google Play. I/TeapotNativeActivity( 7212): Sign in finished with a result of -3 I/biplane ( 7212): OnAuthActionFinished I/biplane ( 7212): You are not logged in! I/TeapotNativeActivity( 7212):

Google Play Games Feature Badges not visible at google play

无人久伴 提交于 2020-01-02 02:19:27
问题 i integrated Google play services successfully to my android application and added achievements and leader boards, but it's been few days since published but i cant see the badges for it on google play. Is there anything i have to add to AndroidManifest.xml? The services are working properly as they should (even on user accounts that are not my list of testers) And i know that you can see the badges only on google play application from the phone. Example - World of Goo - has badges my app -

Cannot resolve com.google.android.gcm.GCMBaseIntentService; Android studio

风流意气都作罢 提交于 2020-01-01 16:39:13
问题 Edit: I solved this problem:) Cause of this error : In the tutorial Implementing GCM Client , there was link to download full source code for demo. Downloaded for reference , added google_play_service library in build.gradle. Did some recommended changes like SENDER_ID,SERVER_URL,.. etc Synch the project with gradle and got this error. How I solved! After lot of google I found that this class is not in google_play_service library but it is in gcm.jar which is deprecated now. I dont know why

Cannot resolve com.google.android.gcm.GCMBaseIntentService; Android studio

拟墨画扇 提交于 2020-01-01 16:38:13
问题 Edit: I solved this problem:) Cause of this error : In the tutorial Implementing GCM Client , there was link to download full source code for demo. Downloaded for reference , added google_play_service library in build.gradle. Did some recommended changes like SENDER_ID,SERVER_URL,.. etc Synch the project with gradle and got this error. How I solved! After lot of google I found that this class is not in google_play_service library but it is in gcm.jar which is deprecated now. I dont know why

Unable to use android:icon=“@mipmap/ic_launcher” in Manifest after play services 7.5.0

半腔热情 提交于 2020-01-01 09:27:15
问题 I have recently update play services using dependencies compile 'com.google.android.gms:play-services:7.5.0' My app icon launcher is in @mipmap/ic_launcher" but this is showing error in AndroidManifest.xml . Should i again place this icon in drawable or else ? Help me to find out the solution. UPDATE: Here is Messages from Android studio Error:(17, 9) Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from

Play Service granular dependency error

拟墨画扇 提交于 2020-01-01 08:51:42
问题 I try to use new Granular Dependency for Google Play Service 6.5.+ In my gradle I set: dependencies { compile 'com.android.support:appcompat-v7:21.0.2' compile 'com.google.maps.android:android-maps-utils:0.3' compile 'com.google.android.gms:play-services-base:6.5.87' compile 'com.google.android.gms:play-services-location:6.5.87' compile 'com.google.android.gms:play-services-maps:6.5.87' } but I get back this error: Error:Execution failed for task ':app:processDebugResources'. Error: more than

Play Service granular dependency error

不想你离开。 提交于 2020-01-01 08:51:31
问题 I try to use new Granular Dependency for Google Play Service 6.5.+ In my gradle I set: dependencies { compile 'com.android.support:appcompat-v7:21.0.2' compile 'com.google.maps.android:android-maps-utils:0.3' compile 'com.google.android.gms:play-services-base:6.5.87' compile 'com.google.android.gms:play-services-location:6.5.87' compile 'com.google.android.gms:play-services-maps:6.5.87' } but I get back this error: Error:Execution failed for task ':app:processDebugResources'. Error: more than