简体   繁体   English

适用于Android的Facebook密钥哈希

[英]Facebook key hash for Android

According to this tutorial you need to run this command to generate key hash: 根据本教程,您需要运行以下命令来生成密钥哈希:

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

When I do that it asks for a password. 当我这样做时,它要求输入密码。 What password it needs? 需要什么密码?

Presumably it's asking for the password to the debug.keystore specified in the keytool command. 大概是在要求keytool命令中指定的debug.keystore的密码。 which should be defaulted to android 应该默认为android

If you've manually changed the password of the keystore, then you'll obviously need to enter the password that you changed it to. 如果您手动更改了密钥库的密码,那么显然您需要输入将其更改为的密码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM