I'm working on an Android app, in which I want to integrate a Facebook posting feature. I downloaded the Facebook-Android SDK, and I got the readme.md (text file) in there, in which it is mentioned to generate the key hash for Android. How do I generate it?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
Use this command after keep open ssl in c drive and in openssl folder.
For Linux
Open Terminal :
For Debug Build
you wil find debug.keystore from ".android" folder copy it from and paste on desktop and run above command
For release Build
NOTE : Make sure In Both case it must ask for password. If it does not asks for password that means something is wrong in command.
Firstly, to generate your key hash on your local computer, run Java's keytool utility (which should be on your console's path) against the Android debug keystore. This is, by default, in your home .android directory).
on ubuntu, it's woking in my computer
Download openSSL -> Install it -> it would usually install in C:\OpenSSL
then open cmd and type
to check jdk version go to C:/program files/java/jdk_version
It will ask you for password which is android.