0

I connected google drive in the past. but after I had update latest version of android sdk and google-play-service, I can't connect to google drive.

so I had to go along with guide document. (https://developers.google.com/drive/quickstart-android) but it is also not connected.

I obtain exception in two case.

com.google.android.gms.auth.GoogleAuthException: Unknown
at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)

I check sha1 of keystore and package name. I don't known why it is happen. help me! please!


list of similar questions
[1] cannot upload to google drive from my android app com.google.android.gms.auth.GoogleAuthException: Unknown
[2] GoogleAuthException when obtaining an access token with ClientID
[3] GoogleAuthException: Unknown (android)

Community
  • 1
  • 1
Hogun
  • 602
  • 6
  • 9

1 Answers1

0

The information at https://developers.google.com/drive/quickstart-android is out of date.

You should refer to these two questions for updated instructions

usingOAuth2 deprecated?

LogCat message: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included

Community
  • 1
  • 1
pinoyyid
  • 21,499
  • 14
  • 64
  • 115
  • thank you for reply. but I don't solve this problem. I already added GooglePlayService project into eclipse. also I added this project in Property-Android-Library. for GooglePlayService start, I called GooglePlayServicesUtil.isGooglePlayServicesAvailable() after app is started. I don't know why this situation occurred. – Hogun Jan 15 '14 at 02:51