适用于Android的googleplus集成

时间:2013-10-16 15:05:30

标签: android google-plus sha1 google-api-console

我试图在现有的Android应用上集成google plus。已在https://code.google.com/apis/console/创建了google api控制台项目。现在这个链接显示为https://developers.google.com/+/quickstart/android我们需要“创建OAuth 2.0客户端ID ”,创建后会显示错误消息“此客户端ID是全球唯一且已在使用中”。可能是因为我不能使用相同的SHA1密钥,但需要对所有Google API使用相同的密钥。感谢

解决方案

从android文件夹中删除了debug.keystore(用户---> .android ---> debug.keystore),然后运行应用程序并生成一个新的密钥库,从该密钥库生成SHA1并出现问题解决了。​​感谢https://code.google.com/p/google-plus-platform/issues/detail?id=554

0 个答案:

没有答案