Android的SDK Facebook的密钥库不要求或密码 [英] Android Facebook SDK keystore not asking or password

查看:189
本文介绍了Android的SDK Facebook的密钥库不要求或密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用Facebook SDK为Android移动应用程序。

I'm trying to use the Facebook SDK for Android mobile applications.

我在这个网站: https://developers.facebook.com/文档/手机/安卓/编译/ ,我应该从我的Andr​​oid SDK获取密钥库。

I've in this site: https://developers.facebook.com/docs/mobile/android/build/ that I should get the keystore from my Android SDK.

我做在Windows命令提示符,在这里我指的是密钥库的确切地点和的 OpenSSL 文件:

I'm doing as follows in the Windows command prompt, where I'm referring to the exact place of the keystore and the OpenSSL files:

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

我得到一个散列键,但我不会提示输入密码...

I get a hash key, but I'm not prompted for entering a password...

在该网站,它说,如果我不要求输入密码(机器人),那么我没有写正确的路径,但我做到了!

In the site, it says that if I'm not asked to enter a password ("android") then I didn't write the path right, although I did!

推荐答案

尝试再次检查路径。结果
我生成使用正确的路径的关键。它被提示输入密码。其结果是,我拿到了钥匙。结果
然后,我用产生在错误的道路的关键。我得到了不同的密钥。
你可以看到它的屏幕截图。

Try to check the path again.
I generated the key with the correct path. It was prompted for a password. As a result, I got the key.
Then I generated the key with the wrong path. I got different key. You can see it in the screenshot.

这篇关于Android的SDK Facebook的密钥库不要求或密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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