Android Key Hash

前端 未结 2 1231
没有蜡笔的小新
没有蜡笔的小新 2021-01-30 14:24

Hi friends i wanna to generate Key hash to incorporate FaceBook Application in my Apps.. I am having Open SSL Zip. pl guide me how to generate key..

2条回答
  •  清酒与你
    2021-01-30 14:39

    Type this in your terminal (mac)

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

    Or this into the console (windows)

    keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl base64
    

    You will have to enter a password. The password is: android

    A code will come up and that code is your key hash.

提交回复
热议问题