关于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