Android的密钥散列密钥、Android

2023-09-05 06:50:35 作者:-情债╮請结账°

喜的朋友我想生成密钥散列纳入Facebook应用程序在我的应用程序..我有打开SSL邮编。 PL指导我如何生成密钥。

Hi friends i wanna to generate Key hash to incorporate FaceBook Application in my Apps.. I am having Open SSL Zip. pl guide me how to generate key..

推荐答案

在你的终端输入这个(MAC)

Type this in your terminal (mac)

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

还是这到控制台(视窗)

Or this into the console (windows)

keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl base64

您必须输入密码。密码是:机器人的

You will have to enter a password. The password is: android

一个code上来了,而code是关键的哈希值。

A code will come up and that code is your key hash.