如何在 Android 上获取 OAuth 2.0 的签名证书指纹 (SHA1)? [英] How to obtain Signing certificate fingerprint (SHA1) for OAuth 2.0 on Android?

查看:32
本文介绍了如何在 Android 上获取 OAuth 2.0 的签名证书指纹 (SHA1)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试按照 https://developers.google.com/console/help/#installed_applications 这让我跟随http://developer.android.com/tools/publishing/app-signing.html.

I'm trying to register my android app following the steps in https://developers.google.com/console/help/#installed_applications which leads me to follow http://developer.android.com/tools/publishing/app-signing.html.

但是,我不确定如何获取签名证书指纹 (SHA1).

However, I'm not sure how to get the signing certificate fingerprint (SHA1).

我首先使用 Eclipse ADT 插件来导出和创建密钥库/密钥.然后,我尝试执行 keytool -list keystore mykeystore.keystore 并且它给了我一个 MD5 证书指纹.我是否需要重做签名(意味着我不能使用 eclipse 导出向导)?

I first used the Eclipse ADT plugin to export and create the keystore/key. Then, I tried doing keytool -list keystore mykeystore.keystore and it gives me a MD5 Certificate fingerprint. Do I need to redo the signing (meaning I can't use the eclipse export wizard)?

我可以先使用调试证书吗?

Can I use a debug certificate first?

推荐答案

启动导出过程,为您的应用创建 apk 并使用您的生产密钥.最后一页显示您的 SHA1 和 MD5 证书指纹

Start an export process to create an apk for your app and use your production key. The very last page displays both your SHA1 and MD5 certificate fingerprints

这篇关于如何在 Android 上获取 OAuth 2.0 的签名证书指纹 (SHA1)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆