Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/194.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Google Play服务:UserRecoverableAuthException';s的意图并不';开始_Android_Google Drive Api_Google Play Services - Fatal编程技术网

Android Google Play服务:UserRecoverableAuthException';s的意图并不';开始

Android Google Play服务:UserRecoverableAuthException';s的意图并不';开始,android,google-drive-api,google-play-services,Android,Google Drive Api,Google Play Services,我对Android的Google Drive SDK有问题 除了一些设备(它以前在这些设备上工作,但现在不工作)以外,一切都正常。UserRecoverableAuthException.getIntent()返回的意图在通过StarTint(…)启动时没有任何作用 我在Logcat上看到的是: 03-11 08:31:19.692: INFO/ActivityManager(552): START u0 {cat=[scope:oauth2:https://www.googleapis.com

我对Android的Google Drive SDK有问题

除了一些设备(它以前在这些设备上工作,但现在不工作)以外,一切都正常。
UserRecoverableAuthException.getIntent()返回的意图在通过
StarTint(…)
启动时没有任何作用

我在Logcat上看到的是:

03-11 08:31:19.692: INFO/ActivityManager(552): START u0 {cat=[scope:oauth2:https://www.googleapis.com/auth/drive,account:myemail@googlemail.com,extrashash:1088740320] flg=0x10000004 cmp=com.google.android.gms/.auth.TokenActivity (has extras)} from pid 27644
就这样。设备上没有发生任何事情

这就是意图的发起方式:

Intent intent = e.getIntent();
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK).addFlags(Intent.FLAG_FROM_BACKGROUND);
startActivity(intent);

有什么想法吗?

发布您的代码您可能需要一些权限虽然没有使用此特定服务,但我看到其他谷歌服务遇到了问题,删除本地数据并重新启动有时会有所帮助(听起来很悲哀)。清单中有权限吗?