google-play-services

clueless why app is get force closed on GoogleApiClient.connect()

我怕爱的太早我们不能终老 提交于 2019-12-13 02:50:26
问题 the app force closes on calling GoogleApiClient.connect() method, atleast if it doesn't connect it should call onConnectionFailed, but dont know why my app is getting force closed. when i comment GoogleApiClient.connect() method it doesn't force close........ trying from hours together . this is my code package com.playservices.murali.playservices; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view

Could not find com.google.firebase:firebase-core:9.0.0?

假如想象 提交于 2019-12-13 02:22:41
问题 In my app, I am trying to use gcm services, but I cannot even get gradle to compile. I keep getting the message that I am missing 'firebase core' though I have no idea how to install this. This is my top-level gradle file: buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.2' classpath "io.realm:realm-gradle-plugin:1.1.0" classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' classpath 'com.google.gms:google-services:3.0.0' } }

Google SignIn not working

旧巷老猫 提交于 2019-12-13 02:21:56
问题 I have an Android app for a customer, who wishes the users be able to log in via Google. So far, I have implemented the Google SignInButton, the GoogleSignInOptions, and the GoogleApiClient. However, when I try to log in with: googleApiClient.connect(GoogleApiClient.SIGN_IN_MODE_REQUIRED); the application force quits as soon as it is opened with following exception: E/AndroidRuntime: FATAL EXCEPTION: main Process: de.nwt.slottynative, PID: 24509 java.lang.RuntimeException: Unable to start

What is the use of SHA-1 fingerprint while accessing google apis?

半世苍凉 提交于 2019-12-13 01:44:05
问题 This might be a silly question but I need to ask it. I am developing an application where I need to use google maps apis. Now while going through one of the tutorials I found out that in order to use the api, I need to generate a SHA1 fingerprint. The fingerprint can be generated using a simple command line utitlity keytoot. So my question is why do we really require such a fingerprint when anybody and everybody can generate it for free. What is the use of such a fingerprint ? 回答1: I don't

Create / Edit / Retrieve DB file with GDAA (Google Drive Api for Android)

a 夏天 提交于 2019-12-13 01:18:36
问题 skilled friends. Could you someone help me with my problem, please? I'm trying to use GDAA (Google Drive API for Android = https://developers.google.com/drive/android/appfolder) for backup and restore my DB file. Not REST API. I tried use their demo classes from here: https://github.com/googledrive/android-demos/, but no positive result. I suceed with authentication and with save my DB file into App Folder in Google Drive, but I can not edit or retrieve this file. I only still create new and

Google Sign-in button error in Android

自古美人都是妖i 提交于 2019-12-13 00:49:36
问题 I try to include Google sign-in button in my android app by following steps: 1) Including the button: <com.google.android.gms.common.SignInButton android:id="@+id/sign_in_button" android:layout_width="wrap_content" android:layout_height="wrap_content" /> 2) Editing Top-level build file classpath 'com.google.gms:google-services:1.5.0-beta2' 3) Editing App-level build file apply plugin: 'com.google.gms.google-services' Now I am getting error in button UI as Blockquote The following classes

Android - Google Login and Play Services version incomptablity

橙三吉。 提交于 2019-12-13 00:37:30
问题 I'm having a weird issue with Google Login and Google Play services. I followed the instructions here https://developers.google.com/identity/sign-in/android/start-integrating and added 'com.google.gms:google-services:1.5.0-beta2' to my build.gradle file. I then added these play services libraries that we need for our app in the app's gradle file: compile 'com.google.android.gms:play-services-location:8.4.0' compile 'com.google.android.gms:play-services-maps:8.4.0' compile 'com.google.android

Inflating Google Maps v2 fragment causes ClassNotFoundException

余生长醉 提交于 2019-12-13 00:24:09
问题 Sorry i am posting this question on. I have refered so many links. But still not able to solve the issue I have linked the google-play-services_lib service. Set the property to Google Inc. Get the API_KEY from google console. This is my Manifest.xml: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.abc.xyz" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16

Failed to resolve: com.google.android.gms:play-services-location:9.6.1

旧街凉风 提交于 2019-12-13 00:07:02
问题 Having updated to AS v2.2.2 I can no longer resolve the Google Play Services maps and location facets. The message I receive is; Error:(54, 27) Failed to resolve: com.google.android.gms:play-services-maps:9.6.1 Install Repository and sync project /Documents/workspace//Polaris/build.gradle">Show in File Show in Project Structure dialog The install link does not work and I have uninstalled AS and reinstalled as well as having uninstalled Play Services and reinstalled the latest (v37 at the time

GoogleAuthUtil cannot be resolved

六眼飞鱼酱① 提交于 2019-12-12 20:23:12
问题 I am using Google Play Service's Authorization with GoogleAuthUtil in my Android applcation. I did this part about 2 months back, its been working perfectly fine then onwards. Yesterday, I updated the SDK. Now I am getting this error in my application. It says "GoogleAuthUtil cannot be resolved". Has anything changed in the updated SDK? How can I solve this? I am importing the following: import com.google.android.gms.auth.GoogleAuthException; import com.google.android.gms.auth.GoogleAuthUtil;