简体   繁体   中英

What is the password they are requesting to generate key hashes for development environments?

I am using android facebook sdk to have a facebook login functionality in my app. I am following this guide https://developers.facebook.com/docs/android/getting-started/ to do so. It was stated to run the command " keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%.android\debug.keystore | openssl sha1 -binary | openssl base64 " in the Java SDK folder to generate a key. After I did it, I was prompted to enter a password but it is not clear as to what password they ask of me. Any ideas?

The default password for debug keystore is android . You can check here:

https://developers.google.com/android/guides/client-auth

Please note that you need not only a SHA-1 fingerprint of a debug key you mentioned but also a SHA-1 fingerprint of a release key to open your app to the public. You can make and handle release key in multiple way. Check here:

https://developer.android.com/studio/publish/app-signing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM