Bess Pascarelli
 · Founder & Design @ Aclypsa LLC

SHA-1 Key (Mac)

Hi all,

I am trying to generate the SHA-1 key on a Mac to set up phone number/SMS authentication w/ Firebase. I am following the instructions in quotations below and using the code listed below for Mac. Is this the right code? Because I am following the exact instructions and not getting results. The error is saying "keystore file does not exist". I have JAVA running and not sure what else could be happening.

"You can generate the SHA-1 key by entering the following command in your terminal with these steps:

  1. 1.

    Open a terminal window:

    • Mac: Use the Launchpad () or press (⌘ + Spacebar) for Spotlight search, type 'Terminal', and open it.

    • Windows: Click the Windows icon, navigate to the 'Windows System' folder, and open 'Command Prompt' either by clicking or right-clicking it.

  2. 2.

    Copy the following command (based on your operating system) and select Enter.

Windows

Mac/Linux

keytool -list -v \-alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore"

Thanks in advance,

Bess

10 replies