【发布时间】:2016-08-24 13:33:37
【问题描述】:
我正在尝试在我的 android 应用程序中添加 google 身份验证功能,为此我需要获取 Android 签名证书 SHA-1。官方tutorial说使用下面的命令来获取SHA-1哈希值。
在释放模式中
keytool -exportcert -list -v \-alias <your-key-name> -keystore <path-to-production-keystore>
调试模式
keytool -exportcert -list -v \-alias androiddebugkey -keystore ~/.android/debug.keystore
现在我对这个生产密钥库和 debug.keystore 是什么以及如何获取生产密钥库的路径感到困惑?解释表示赞赏。
【问题讨论】:
-
你用的是android studio还是android eclipse??
-
@sasikumar 我用的是安卓工作室
-
在android studio中很容易获得SHA1指纹证书...@Hiren Patel 回答参考stackoverflow.com/questions/27609442/…
标签: android google-authentication