android中的gcm注册失败 [英] failed gcm registration in android

查看:27
本文介绍了android中的gcm注册失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用推送通知部署应用程序.问题是我无法让它从设备上工作.使用模拟器时,一切正常,但使用手机时,我收到一条日志,显示 "AUTHENTICATION_FAILED".

I'm trying to deploy an application with push notifications. The problem is that I can not get it to work from a device. While using the emulator, everything is ok but when using a cell phone I get a log saying "AUTHENTICATION_FAILED".

我已检查并且 Gmail 帐户已同步,但总是试图检查我是否有此错误.

I have checked and the Gmail account is synchronized but is always trying to check me out this error.

有人可以帮我吗?

推荐答案

这是由于 Google 帐户密码错误造成的.通过电话检查您的帐户.

This is occurred due to the bad Google Account password. Check your account on the phone.

错误的 Google 帐户密码.Android 应用程序应该询问用户输入他/她的 Google 帐户密码,并让用户重试稍后手动.在设备端修复.

Bad Google Account password. The Android application should ask the user to enter his/her Google Account password, and let the user retry manually later. Fix on the device side.

此处检查错误代码和说明.

Check error codes and explanations here.

这篇关于android中的gcm注册失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆