【发布时间】:2016-03-08 18:01:04
【问题描述】:
我一直在使用本教程 here 在我的应用中实现 Google 登录按钮。
我的项目名称和 ID 来自 Google 开发者控制台 proof of project id and number
我已将号码放在strings.xml 文件中并添加了
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="@string/app_id" />
到AndroidManifest.xml 文件
我的应用运行良好,但是当我尝试使用添加到我的活动中的 Google 登录按钮登录时,我的 LogCat 中出现以下错误。
03-08 17:45:59.626 2073-12290/? E/GameAgent: Unable to retrieve application 522187312304 from network
03-08 17:45:59.626 2073-12290/? E/GameAgent: Application 522187312304 is not associated with package com.example.healyj36.quizapp. Check the application ID in your manifest.
我不明白我做错了什么,我是否使用了错误的 ID/号码?
另外,我对Google Developer Console 和Google Play Developer Console 感到困惑。它们之间有什么区别?我用错了吗? (我使用的是谷歌开发者控制台)
【问题讨论】:
标签: android xml google-app-engine google-play-services google-developer-tools