如何创建Android Facebook Key Hash? [英] How to create Android Facebook Key Hash?

查看:125
本文介绍了如何创建Android Facebook Key Hash?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不明白这个过程。我已经能够导航到包含Java SDK中的keytool的文件夹。虽然我不断收到错误openssl未被识别为内部或外部命令。问题是,即使我能做到这一点,我该怎么办,之后呢?

解决方案

需要做 -



代码
提取它。创建一个文件夹 - OpenSSL在C:/并复制提取的代码在这里。



检测debug.keystore文件路径。如果你没有找到,然后在C:/ /中进行搜索,并在下一步的命令中使用路径。



检测您的keytool.exe路径并转到该命令提示符并在一行中运行此命令 -

  $ keytool -exportcert -alias androiddebugkey -keystoreC: \Documents and Settings\Administrator.android\debug.keystore| C:\OpenSSL\bin\opensslsha1 -binary |C:\OpenSSL\bin\opensslbase64 

它会要求输入密码,把android
全部放在这里。你会得到一个密钥哈希


I do not understand this process at all. I have been able to navigate to the folder containing the keytool in the Java SDK. Although I keep getting the error openssl not recognised as an internal or external command. The problem is even if I can get this to work, what would I do and with what afterwards?

解决方案

Here is what you need to do -

Download openSSl from Code Extract it. create a folder- OpenSSL in C:/ and copy the extracted code here.

detect debug.keystore file path. If u didn't find, then do a search in C:/ and use the Path in the command in next step.

detect your keytool.exe path and go to that dir/ in command prompt and run this command in 1 line-

$ keytool -exportcert -alias androiddebugkey -keystore "C:\Documents and Settings\Administrator.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -binary |"C:\OpenSSL\bin\openssl" base64

it will ask for password, put android that's all. u will get a key-hash

这篇关于如何创建Android Facebook Key Hash?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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