Android keyhash for facebook -
i trying hashkey in-order connect phonegap android app facebook following below steps ..
1) download openssl from: http://code.google.com/p/openssl-for-windows/downloads/list
2) make openssl folder in c drive
3) extract zip files openssl folder
4) copy file debug.keystore .android folder in case (c:\users\system.android) , paste jdk bin folder in case (c:\program files\java\jdk1.6.0_05\bin)
5) open command prompt , give path of jdk bin folder in case (c:\program files\java\jdk1.6.0_05\bin).
6) copy code , hit enter keytool -exportcert -alias androiddebugkey -keystore debug.keystore > c:\openssl\bin\debug.txt
7) need enter password, password = android.
8) see in openssl bin folder file name of debug.txt
9) either can restart command prompt or work existing command prompt
10) comes c drive , give path of openssl bin folder
11) copy following code , paste openssl sha1 -binary debug.txt > debug_sha.txt
12) debug_sha.txt in openssl bin folder
13) again copy following code , paste openssl base64 -in debug_sha.txt > debug_base64.txt
14) debug_base64.txt in openssl bin folder
15) open debug_base64.txt file here key hash.
but whenever executing step 13 getting error
openssl has stopped working. problem caused program stop working correctly. windows close program , notify if solution available. please me out, quite new android world ...
open command prompt , go java directory java keytool located. seems in case is: c:\program files\java\jdk1.6.0_05\bin
.
now, in command prompt, type:
keytool -exportcert -alias androiddebugkey -keystore [path keystore] | [path openssl] sha1 -binary | [path openssl] base64
where, should replace [path keystore] directory path android debug.keystore. example:
c:\users\chris\.android\debug.keystore
and should replace [path openssl] directory path openssl application file. example:
c:\openssl-win32\bin\openssl
now, when hit enter after entering full line of code ask password, is: android
if have done successful give string right in command prompt can copy , paste , use. if doesn't ask password check directory paths.
Comments
Post a Comment