【发布时间】:2015-05-19 00:12:47
【问题描述】:
无法连接到 Google API 客户端:ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
我正在尝试在我的应用中实现基本的 g+ 登录,并且我已按照与 Drive API for Android Getting Started 中完全相同的步骤进行操作。
以前有人见过这个错误吗?
当我点击登录按钮时,我会收到选择我的谷歌帐户的提示。选择帐户后,我的应用程序中没有任何反应。
日志如下:
E/MDM (32664): [33508] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
I/LoadedApk(32664): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/data/app/com.google.android.gms-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.gms-2/lib/arm64, /vendor/lib64, /system/lib64]]]
I/SurfaceFlinger( 3100): id=2396 Removed SurfaceView (-2/9)
D/LocationInitializer(29281): Restart initialization of location
W/ActivityManager( 3499): userId = 0, bbcId = -10000
W/ActivityManager( 3499): NORMAL SET : dst_category = 701, src_allowCategory = 0,701-1023
【问题讨论】:
-
希望我的经验能帮到你stackoverflow.com/a/34089712/755313
标签: android google-plus