Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keytool does not ask password (using Facebook lib with android)

I run the script below like Facebook said. There is no compiling problem. The problem is it never gives me a password question after process finished and according to facebook documentation it means my keystore path is incorrect. But debug.keystore file is in correct path! C:\Users\KSM45.android

Please let me know where do I make mistake? I just want to login with facebook!

(From documentation page: Also make sure you are using the correct password - for the debug keystore, use 'android' to generate the keyhash. General Rule: If the tool does not ask for password, your keystore path is incorrect.)

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
like image 673
Mustafa Güven Avatar asked Jul 21 '12 17:07

Mustafa Güven


1 Answers

Try to delete your keystore in ~/.android/debug.keystore then clean your project in eclipse and run your app so the eclipse plugin re-create your keystore.

like image 130
shem Avatar answered Sep 18 '22 13:09

shem