且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用发布密钥的 Android 应用程序 Facebook 登录

更新时间:2022-12-22 10:09:12

这是我解决问题的方法:

Here is what I did that solved the problem:

  1. 使用 openssl-0.9.8e_WIN32 而不是 openssl-0.9.8k_WIN32
  2. 我没有在下面使用别名,或者我在别名中输入了一个空格,因为生成的密钥是错误的.

我用这个代替:

keytool -exportcert -alias <aliasNameUseInReleaseKeystore> -keystore <ReleasekeystoreFilePath> | openssl sha1 -binary | openssl base64

附言我在问题中发布的方法真的没用.它无非是让我迷惑不解.

P.S. The method which I have posted in my question is really useless. It did nothing more than confuse me to no end.