Facebook Login for Android App with release key

后端 未结 5 2174
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-24 04:31

I am trying to release my app on Google Play. I have a Facebook login in my app. Up until yesterday all was working fine till the time I was running the application with

5条回答
  •  执笔经年
    2020-12-24 04:50

    Here is what I did that solved the problem:

    Used openssl-0.9.8e_WIN64 Instead of openssl-0.9.8k_WIN64 from here

    keytool -exportcert -alias  -keystore  | PATH_TO_OPENSSL_LIBRARY\bin\openssl sha1 -binary | PATH_TO_OPENSSL_LIBRARY\bin\openssl base64
    

    example :

    keytool -exportcert -alias "yourAliasKey" -keystore "C:\Users\YourUser\AppData\Local\Android\android-studio\key.jks" | PATH_TO_OPENSSL_LIBRARY\bin\openssl sha1 -binary | PATH_TO_OPENSSL_LIBRARY\bin\openssl base64
    

    use your playstore keystore alias as RELEASE_KEY_ALIAS and its's saved path with file name as RELEASE_KEY_PATH.

    Note: use your playstore keystore password when if ask for type password.

提交回复
热议问题