【发布时间】:2016-07-11 04:37:35
【问题描述】:
这里我下载了通过谷歌授权的源代码(谷歌教程)。
如果您运行调试版本,一切都会按计划进行。但是如果你安装并运行发行版,它在模拟器或真手机上都不起作用。 告诉我有什么问题?可能是 SHA1 的问题。当我做“gradle”->“signingReport”。 我得到以下信息:
Variant: releaseUnitTest
Config: none
----------
Variant: debugUnitTest
Config: debug
Store: C:\Users\******\.android\debug.keystore
Alias: AndroidDebugKey
MD5: <some code****>
SHA1: <some code*****>
Valid until: <date***>
----------
Variant: release
Config: none
----------
Variant: debugAndroidTest
Config: debug
Store: C:\Users\******\.android\debug.keystore
Alias: AndroidDebugKey
MD5: <some code****>
SHA1: <some code*****>
Valid until: <date***>
----------
Variant: debug
Config: debug
Store: C:\Users\******\.android\debug.keystore
Alias: AndroidDebugKey
MD5: <some code****>
SHA1: <some code*****>
Valid until: <date***>
另外,有人说下一件事情:
发布版本不起作用,因为您没有在开发者控制台中注册签名的其他证书及其指纹。
但我不明白这是什么意思。
【问题讨论】:
标签: android debugging authentication release google-authentication