Android app Key Hash doesn't match any stored key hashes

后端 未结 13 1616
后悔当初
后悔当初 2020-12-02 14:51

I have an application on production on Play Store which uses a login with the Facebook SDK. When I debug the application from Eclipse there is no problem, but when its on pr

13条回答
  •  -上瘾入骨i
    2020-12-02 15:01

    Well, If u r using Windows use this command in cmd .

    Move to C:\Program Files\Java\jdk1.8.0_25\bin

    keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | "C:\openssl\bin\openssl.exe" sha1 -binary | "C:\openssl\bin\openssl.exe" base64

    When generating the hash key you need to use openssl-0.9.8e_X64.zip on windows, you cannot use openssl-0.9.8k_X64.zip

    This is the solution.

提交回复
热议问题