android - How can I find and run the keytool -


i reading development guide of facebook developers @ here

it says must use keytool export signature app such as:

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

i not know how find keytool in order run it. tried open windows command prompt , paste above command, did not work.

i found solution myself below quote. works fine.

"c:\program files\java\jdk1.6.0_26\bin\keytool.exe" -exportcert -alias sociallisting -keystore "d:\keystore\sociallisting" | "c:\cygwin\bin\openssl.exe" sha1 -binary | "c:\cygwin\bin\openssl.exe" base64


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -