flutterfirebaseandroid-studiodartsha1

I can't get SHA-1 Key


When we enter the "gradle signingReport" command to get SHA-1 Key in Android Studio, we normally need to see the SHA-1 output in the console, but it gives me such an output, is there anyone who can help?



Console Output


Solution

  • You can get SHA1 key by using below command.

    Linux:

     keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
    

    Window:

    keytool -list -v -keystore C:\Users\username\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
    

    Mac:

    keytool -list -v -keystore /Users/username/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android