使用 Google Plus 登录安卓系统

标签 android google-plus google-play-services

我一直在学习本教程。 http://www.androidhive.info/2014/02/android-login-with-google-plus-account-1/

但是当我通过真实设备测试应用程序时, 当我点击“登录”按钮时,会出现提示消息,提示 “发生内部错误”

你能帮我解决这个问题吗? 提前致谢。

最佳答案

如果出现以下情况之一,通常会出现“内部错误”:

Google 的开发者控制台网站中:

  1. 您已创建项目,但未启用 Google api

项目内部:

凭据

  1. SHA1 代码不正确
  2. 包名不正确

同意屏幕

  1. 关联的电子邮件地址丢失
  2. 缺少产品名称

如果所有这些都正确,它应该会自动工作......

关于使用 Google Plus 登录安卓系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24925160/

相关文章:

android - 如何创建一个封闭的(圆形)ListView?

javascript - 设置 Google Plus 登录按钮类型

android - 将多个帐户所有者添加到单个 Google Play 开发者帐户

android - 如何从 Play 商店 API 获取数据

google-plus - 是否有现有的 Google+ API?

android - 无法使用 Google Services Analytics 编译 react 原生项目

android - 在 Android Honeycomb 中加速 Gallery 小部件的技巧

java - list 合并失败错误

android - "tns doctor""You need to have the Android SDK Build-tools installed on your system."但一切都已安装

javascript - 如何从 javascript Google+ 登录 API 存储用户信息?