我正在尝试部署带有推送通知的应用程序。问题是我无法通过设备让它工作。在使用模拟器时,一切正常,但在使用手机时,我收到一条日志,上面写着 "AUTHENTICATION_FAILED"
。
我已经检查过并且 Gmail 帐户已同步,但总是试图检查我是否出现此错误。
有人可以帮我吗?
最佳答案
这是由于错误的 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.
检查错误代码和解释 here .
关于android - android 中的 gcm 注册失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11942736/