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.
Click on Tasks. Click on Android. Double Click on signingReport (You will get SHA1 and MD5 in Run Bar(Sometimes it will be in Gradle Console)) Select app module from module selection dropdown to run or debug your application.
Step 1: Go to your project directory in VS Code. Step 2: Open terminal. Step 3: Run “cd android”. Step 4: Run “.
Open a terminal and run the keytool utility provided with Java to get the SHA-1 fingerprint of the certificate. You should get both the release and debug certificate fingerprints. Note: When using Play App Signing, the upload key certificate will be different than the app signing key certificate.
It's very simple follow below steps.
Step 1. Go to your project directory in VS code.
Step 2. Open terminal.
Step 3. Run cd android for the below path :
Ex.: PS D:\Workspace\FlutterWorkSpace\FlutterApp\flutter_demo_app> cd android
Step 4. Run .\gradlew signingReport for the below path :
PS D:\Workspace\FlutterWorkSpace\FlutterApp\flutter_demo_app\android> .\gradlew signingReport
Then it will display like that
> Task :app:signingReport
Variant: debug
Config: debug
Store: C:\Users\User\.android\debug.keystore
Alias: AndroidDebugKey
MD5: 6C:64:D6:49:31:37:60:3F:1D:2E:31:2A:F4:3C:E3:D6
SHA1: 54:B0:BC:D6:D6:B4:C3:51:88:E9:20:62:56:CD:23:2D:A7:C0:0F:FD
SHA-256: 80:BF:B3:A8:0D:D6:D9:7C:C8:5F:61:32:22:6B:EA:D1:51:03:8D:1H:5E:0F:F7:0B:G3:56:1DD1:D1:3B:DB:FA
Valid until: Monday, 30 March, 2048
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With