开发者

Android Key Hash

I wanna to cre开发者_如何学Cate hash key for Single Sign On Appliction in FaceBook.. If i enter this Commands in Command prompt

C:\Users\FSSD6>keytool -exportcert -alias androiddebugkey -keystore ~/.android/d ebug.keystore | openssl sha1 -binary | openssl base64

i am getting error ::

'openssl' is not recognized as an internal or external command, operable program or batch file. what can i do for it..

I am having my openssl bin file in location (C:\Users\FSSD6\Desktop\openssl-0.9.8k_WIN32\bin) and i am having my keystore in ( C:\Users\FSSD6.android\debug.keystore)

Please help me..thanks in Advance...


openssl is not in your path. Try:

C:\Users\FSSD6>keytool -exportcert -alias androiddebugkey -keystore ~/.android/d ebug.keystore | C:\Users\FSSD6\Desktop\openssl-0.9.8k_WIN32\bin\openssl sha1 -binary | C:\Users\FSSD6\Desktop\openssl-0.9.8k_WIN32\bin\openssl base64

Or add C:\Users\FSSD6\Desktop\openssl-0.9.8k_WIN32\bin to your PATH.


I have got the solution for getting hash key on android.

C:\Documents and Settings\Administrator>cd .android

C:\Documents and Settings\Administrator\.android>keytool -exportcert -alias andr
oiddebugkey -keystore ~/.android/debug.keystore | "C:\Documents and Settings\Adm
inistrator\.android\openssl\bin\openssl" sha1 -binary | "C:\Documents and Settin
gs\Administrator\.android\openssl\bin\openssl" base64
3ZLW/TAqPavR43aZh79aejFQDOdka8=

C:\Documents and Settings\Administrator\.android>


Make sure the openssl bin directory is in your path or, alternatively, specify the full path when trying to run it.


Yours;

C:\Users\FSSD6>keytool -exportcert -alias androiddebugkey -keystore ~/.android/d ebug.keystore | openssl sha1 -binary | openssl base64

Must be;

C:\Users\FSSD6>keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | C:\Users\FSSD6\Desktop\openssl-0.9.8k_WIN32\bin\openssl sha1 -binary | openssl base64

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜