Facebook的Andr​​oid的生成密钥散列 [英] Facebook Android Generate Key Hash

查看:1513
本文介绍了Facebook的Andr​​oid的生成密钥散列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图创建与Facebook整合的Andr​​oid应用程序,我已经得到的一部分,你必须生成一个密钥散列文件中的文档,它指定运行下面的code

Trying to create an android app with Facebook integration, I've gotten to the part in the docs where you have to generate a key hash file, it specifies to run the following code

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

当我运行在我的终端我得到的密钥库的错误篡改或密码不正确,

When I run this in my terminal I get an error for Keystore tampered with or password was incorrect,

我只是想我的生成密钥散列

I just want to generate my Key Hash

任何人都可以点我朝着正确的方向?

Can anyone point me in the right direction?

推荐答案

删除在〜/ .android / debug.keystore调试证书(在Linux和Mac OS X);该目录是类似于%USERHOME%/。上的android的Windows。

Delete your debug certificate under ~/.android/debug.keystore (on Linux and Mac OS X); the directory is something like %USERHOME%/.android on Windows.

Eclipse的插件应该然后生成一个新的证书,当你下次尝试建立一个调试包。

The Eclipse plugin should then generate a new certificate when you next try to build a debug package.

让我知道,如果工程。

这篇关于Facebook的Andr​​oid的生成密钥散列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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