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
Asked
Active
Viewed 318 times
2 Answers
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
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.

Egor
- 39,695
- 10
- 113
- 130