如何创建Android Facebook Key Hash? [英] How to create Android Facebook Key Hash?
问题描述
需要做 -
从代码
提取它。创建一个文件夹 - 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屋!