0

I tried to get my SHA-1 key by using the terminal but I don't know what problem is there, can anyone help me with this? I know how to get sha-1 key in android studio by signing report, but I want to generate in terminal.

Here is what I got when I run the command, I tried this answer but got nothing: how to get sha1 of android app in Vs code

enter image description here

above is my cmd. It is saying that it is an illegal option.

I have my Java bin directory here C:\Program Files\Java\jdk-14.0.2\bin and debug.keystore here: C:\Users\91819\.android

2 Answers 2

1

Put a space between "C:\Users\91819\.android\debug.keystore" and -alias

Sign up to request clarification or add additional context in comments.

Comments

0

open the Project folder in VS code

Open the Terminal

Enter the following cmd and enter

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

Replace yourusernamehere to your windows user name

you will get the SHA1 and other details.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.