Note that there are some explanatory texts on larger screens.

plurals
  1. POtry to obtain the hash key on MAC for integrating facebook in my Android app
    primarykey
    data
    text
    <p>If someone has ever done this-obtained the hash key using the key tool on MAC please tell how u did it cause I'm pulling my hair out here.</p> <p>Here is what I did:</p> <p>First I found out that I should type these comands:</p> <pre><code>keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64 </code></pre> <p>in my terminal in oder to get the <code>hash key</code>.</p> <p>So I start typing:</p> <pre><code> keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore </code></pre> <p>As I pressed <code>ENTER</code> it asked for a password!</p> <p>I gave up this and try to set a password to my <code>keystore</code> by doing this:</p> <pre><code>$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -validity 10000 </code></pre> <p>It asked for a password and the re-type password-All good until here.</p> <p>The terminal also displayed this message:</p> <pre><code>[Storing my-release-key.keystore] </code></pre> <p>but it didn't tell where the keystore will be stored!!!</p> <p>Now, I got the password and then tried again this magic command:</p> <p><code>keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore</code> </p> <p>It asked me for the password...I entered that and then it gave me this lovely little message thet drives me insane:</p> <pre><code>keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect </code></pre> <p>So please if u know how could I obtain that key give me some details and I will appreciate it FOREVER.</p> <p>Thank u in advance!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload