關於Facebook登錄密鑰散列的獲取


步驟:

  1. 進入keytool目錄:

  2. 獲取開發密鑰散列:

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

    替換上面中的HOMEPATH地址和 openssl地址:

  3. 獲取發布密鑰散列:

keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore YOUR_RELEASE_KEY_PATH | openssl sha1 -binary | openssl base64

替換上面中的YOUR_RELEASE_KEY_ALIAS、YOUR_RELEASE_KEY_PATH和openssl

具體舉例如下:

開發密鑰散列:
keytool -exportcert -alias androiddebugkey -keystore "C:\Users\10950\.android\debug.keystore" | "C:\openssl-0.9.8k_X64\bin\openssl" sha1 -binary | "C:\openssl-0.9.8k_X64\bin\openssl" base64


發布密鑰散列:
keytool -exportcert -alias key_dreamloan -keystore "D:\feixun\dreamloan\app\dreamloan.jks" | "C:\openssl-0.9.8k_X64\bin\openssl" sha1 -binary | "C:\openssl-0.9.8k_X64\bin\openssl" base64



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM