【问题标题】:How to use Google Drive on android?如何在安卓上使用谷歌云端硬盘?
【发布时间】:2014-01-12 17:28:43
【问题描述】:

我以前连接过谷歌驱动器。 但是在我更新了最新版本的 android sdk 和 google-play-service 后,我无法连接到 google drive。

所以我不得不与指南文件一起去。 (https://developers.google.com/drive/quickstart-android) 但它也没有连接。

我在两种情况下获得异常。

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)

我检查了密钥库的 sha1 和包名。 我不知道为什么会这样。帮我!请!


类似问题列表
[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)

【问题讨论】:

    标签: android google-drive-api


    【解决方案1】:

    【讨论】:

    • 感谢您的回复。但我没有解决这个问题。我已经将 GooglePlayService 项目添加到 Eclipse 中。我还在 Property-Android-Library 中添加了这个项目。对于 GooglePlayService 启动,我在应用启动后调用了 GooglePlayServicesUtil.isGooglePlayServicesAvailable() 。我不知道为什么会出现这种情况。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多