google-play-services

Google map view no longer loading after ADT upgrade; apparent authentication issue?

混江龙づ霸主 提交于 2019-12-30 11:17:07
问题 I'm working on an location-aware Android app that uses Google Maps. I upgraded by ADT to 23.0.0.1245622 the other day. I think I was on v22.6.2-1085508 before then. Now the map view only contains the Google logo and the +/- buttons. And, eerily, my logcat contains the following line: 07-01 12:15:08.548: E/Google Maps Android API(6299): Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors). I have tried cleaning the

Google Maps - “App won't run unless you update Google Play services”

心不动则不痛 提交于 2019-12-30 09:58:16
问题 I'm just trying to run the simple Google Maps tutorial here: https://developers.google.com/maps/documentation/android/start I'm running my app on my Nexus 4, and I receive the "update Google Play services" message with an Update button. When I click the Update button, it takes me to the Google Play services app on the Play Store, but it appears that it's updated to the latest version. Is there anything else I might be missing? Android Manifest file: <?xml version="1.0" encoding="utf-8"?>

What does the RC_SIGN_IN means in googleplus login

房东的猫 提交于 2019-12-30 07:51:22
问题 I need to add login with google plus button to my app. I followed google's documentation in this Link. But in signin method there is a value called RC_SIGN_IN . I do not know what are the values I should assign to RC_SIGN_IN . 回答1: RC_SIGN in is the request code you will assign for starting the new activity. this can be any number. When the user is done with the subsequent activity and returns, the system calls your activity's onActivityResult() method. and that method will be like :

Cordova build problems after import google play service

前提是你 提交于 2019-12-30 07:05:08
问题 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 everything was fine. Then I opened my android project that cordova generated and import the google play service lib project and put all the native code I needed to show ads, then...GREAT! Works fine, tested on emulator, NICE, device, EVEN BETTER! But now

Google nearby API background scan doesn´t work after application kill

烂漫一生 提交于 2019-12-30 07:00:10
问题 I have kontakt.io beacon and I try to write application for background scanning with nearby API. I use this method to subscribe messages: SubscribeOptions options = new SubscribeOptions.Builder() // Finds messages attached to BLE beacons. See // https://developers.google.com/beacons/ .setStrategy(Strategy.BLE_ONLY) .build(); Nearby.Messages.subscribe(mGoogleApiClient, getPendingIntent(), options) .setResultCallback(new ResultCallback<Status>() { @Override public void onResult(@NonNull Status

“This app won't run unless you update google play services” alert

六月ゝ 毕业季﹏ 提交于 2019-12-30 05:44:04
问题 I am getting "Update Google Play Services" alert when running project on emulator. If I click OK then there is one more alert behind it. I keep clicking OK and there are tons of alerts already popped up and I end up giving up. Message looks as below : I've tried updating everything in SDK manager. Also tried in Eclipse, Help->Check for updates. 回答1: Updated: Jun 27 2019: The new google x86 emulator with play services is exactly like a device where you can install apps from play store and all

Google Play Games Services - Realtime Multiplayer - STATUS_CLIENT_RECONNECT_REQUIRED

↘锁芯ラ 提交于 2019-12-29 08:41:20
问题 I am trying to implement a real-time multiplayer in my Android game using the Google Play Games Services but I am facing an issue when the onRoomCreated method, that I overrided, is called. @Override public void onRoomCreated(int statusCode, Room room) { if (statusCode != GamesStatusCodes.STATUS_OK) { stopKeepingScreenOn(); showGameError(); return; } roomId = room.getRoomId(); showWaitingRoom(room); } The status code is always different of GamesStatusCodes.STATUS_OK and actually equal to 2 (+

Problems implementing the new GCM Client for Android

。_饼干妹妹 提交于 2019-12-29 07:43:19
问题 I'm trying to implement the new GCM Client on Android following the guidelines from Google (https://developers.google.com/cloud-messaging/android/client). I'm receiving slightly different errors for two different devices. I noticed that I receive NoSuchMethodError for method getNoBackupFilesDir for both the devices. This is the logcat for an Android 4.2.2: 06-08 09:01:09.920: I/dalvikvm(9138): Could not find methodandroid.app.Notification$Builder.setLocalOnly, referenced from method com

How do you prompt the user to update google play services?

南笙酒味 提交于 2019-12-29 07:31:31
问题 I can easily detect that my device's google play services app needs to be updated, and present the getErrorDialogFragment() to prompt the user to update it with: GoogleApiAvailability googleApi = GoogleApiAvailability.getInstance(); mServiceAvailabilityCode = googleApi.isGooglePlayServicesAvailable(this); if (mServiceAvailabilityCode == ConnectionResult.SUCCESS) { ... else { if (googleApi.isUserResolvableError(mServiceAvailabilityCode)) { switch (mServiceAvailabilityCode) { .... case SERVICE

How do you prompt the user to update google play services?

耗尽温柔 提交于 2019-12-29 07:31:30
问题 I can easily detect that my device's google play services app needs to be updated, and present the getErrorDialogFragment() to prompt the user to update it with: GoogleApiAvailability googleApi = GoogleApiAvailability.getInstance(); mServiceAvailabilityCode = googleApi.isGooglePlayServicesAvailable(this); if (mServiceAvailabilityCode == ConnectionResult.SUCCESS) { ... else { if (googleApi.isUserResolvableError(mServiceAvailabilityCode)) { switch (mServiceAvailabilityCode) { .... case SERVICE