Issue
how to get "Sha1" for a flutter application. I am using flutter in Vs code.In android studio we have direct option for that, but i don't know how to get it in Vs code.
Solution
Change the directory to the JDK bin directory, mine was jdk1.7.0_05 (could be different for you). cd
C:\Program Files\Java\jdk1.7.0_05\bin
Next we have to run the keytool.exe. Use the following line to get the Android SHA1 fingerprint. Windows:
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore"-alias androiddebugkey -storepass android -keypass android
Mac and Linux:
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Answered By - Constantin N.
Answer Checked By - Timothy Miller (JavaFixing Admin)