如何获取签名证书指纹(SHA1)为2.0的OAuth在Android? [英] How to obtain Signing certificate fingerprint (SHA1) for OAuth 2.0 on Android?
问题描述
我想注册我的Android应用程序按照<一个步骤href="https://developers.google.com/console/help/#installed_applications">https://developers.google.com/console/help/#installed_applications这使我跟随 <一href="http://developer.android.com/tools/publishing/app-signing.html">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密钥存储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
这篇关于如何获取签名证书指纹(SHA1)为2.0的OAuth在Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!