0

In android I have try to obtain a google apikey version 2 , I tried to obtain the sha 1 key as follows keytool -list -v -keystore "C:\Users\sapu.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android but in command prompt keytool is not recogenize as internal or external command how can I overcome this

2 Answers 2

1

Probably this happens because the Java home is not in your Path. Add the full path to the jdk folder to the Path variable and you'll be fine.

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

Comments

1

Where is the command keytool stored? Is it in your path? If not, then you need to give the full path.

More instructions can be found at this earlier question

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.