Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/6.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
GoogleAccountDataService似乎是被com.google.android.gms欺骗的_Android_Android Source_Google Account - Fatal编程技术网

GoogleAccountDataService似乎是被com.google.android.gms欺骗的

GoogleAccountDataService似乎是被com.google.android.gms欺骗的,android,android-source,google-account,Android,Android Source,Google Account,背景:我正在尝试将谷歌应用程序安装到一个由AOSP构建的ROM上,运行在Nexus5上 但是,当我尝试向设备添加谷歌帐户时,它会给我一条错误消息:“与谷歌服务器通信时出现问题”。通过运行logcat,我得到以下消息: V/GLSActivity( 2416): java.lang.SecurityException: GoogleAccountDataService appears to have been spoofed by: com.google.android.gms V/GLSActi

背景:我正在尝试将谷歌应用程序安装到一个由AOSP构建的ROM上,运行在Nexus5上

但是,当我尝试向设备添加谷歌帐户时,它会给我一条错误消息:“与谷歌服务器通信时出现问题”。通过运行logcat,我得到以下消息:

V/GLSActivity( 2416): java.lang.SecurityException: GoogleAccountDataService appears to have been spoofed by: com.google.android.gms
V/GLSActivity( 2416):   at com.google.android.gms.auth.firstparty.dataservice.GoogleAccountDataServiceClient.c(Unknown Source)
V/GLSActivity( 2416):   at com.google.android.gms.auth.firstparty.dataservice.GoogleAccountDataServiceClient.a(Unknown Source)
V/GLSActivity( 2416):   at com.google.android.gms.auth.firstparty.dataservice.GoogleAccountDataServiceClient.signIn(Unknown Source)
V/GLSActivity( 2416):   at com.google.android.gsf.loginservice.GLSHelper.blockingAddWithPassword(GLSHelper.java:281)
V/GLSActivity( 2416):   at com.google.android.gsf.login.LoginActivityTask$1.runInBackground(LoginActivityTask.java:147)
V/GLSActivity( 2416):   at com.google.android.gsf.login.CancelableCallbackThread.run(CancelableCallbackThread.java:37)
以前还有其他人有过这个问题吗?这似乎是某种权限问题


注意:我更想知道这个安全异常背后的原因是什么,而不是如何修复它(尽管我也很感激)。

欢迎来到stackoverflow!在上获取有关此特定问题的帮助可能更容易