Question Detail

keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

'keytool' is not recognized as an internal or external command,
operable program or batch file.
how to create keytool

Thread Reply


- 1 years ago

Generally, this problem occurs only when environmental variables are not configured properly. you can call keytool by specifying the full path to your Java/bin/keytool.exe file

for me, the path looks like this:
go on till here in your CMD
C:\Program Files\Java\jdk1.8.0_131\bin

and Fire your SHA1 Command.


- 2 months ago

If you are not able to find your debug.keystore file it should auto-generate when you create build APK in Android Studio by the way you can create it manually by follow below command in your CMD or terminal

keytool -genkey -v -keystore C:\Users\YOUR_PC_USER_NAME\.android\debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"


- 23 days ago

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