• Register
0 votes
3.7k views

Problem :

I am facing following keytool error
'keytool' is not recognized as an internal or external command, operable program or batch file.
6 5 3
6,930 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

Below solution worked for me !! :

You need to go to the path where you have your keytool.exe file

e.g C:\Program Files\Java\jre7\bin

Now hold shift and right click -> then press Open command window here

After that terminal will pop up paste below command in:

keytool -list -v -keystore "C:\Users\"Your-User-Name(no quotes)"\.android\debug.keystore" -alias androiddebugkey -storepass andr
9 7 4
38,600 points
0 votes
A simple solution of error is that you first need to change the folder directory in command prompt. By default in command prompt or in terminal(Inside Android studio in the bottom)tab
the path is set to
C:\Users\#Name of your PC that you selected\AndroidStudioProjects\#app name\flutter_app>
**Change accordingly:-**
C:\Users\#Name of your PC that you selected\AndroidStudioProjects\#app name\flutter_app>cd\
# type **cd\** (#after flutter_app>), type only cd\ not comma's
#then type cd **Program Files\Java\jre1.8.0_251\bin** (#remember to check the file name of jre properly)
#now type **keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android** (without anyspace type the command).
0 points

Related questions

0 votes
1 answer 1.4K views
1.4K views
Problem : I have encountered following keytool error 'openssl' is not recognized as an internal or external command, operable program or batch file.
asked Nov 13, 2019 peterlaw 6.9k points
0 votes
1 answer 1 view
1 view
Problem: 'ng' is not recognized as an internal or external command, operable program or batch file. Running windows 7 Professional 32bit. I tried running npm install -g angular-cli both under normal or admin. I also tried adding it to the Enviorment Variables under PATH: (C:\Users\Administrator\AppData\Roaming\npm\node_modules\angular-cli\bin\ng) , with no success also. What am i doing wrong?
asked 12 hours ago Umar Ahmad 700 points
1 vote
1 answer 3 views
3 views
Problem: is not recognized as an internal or external command, operable program or batch file.
asked 1 day ago Sofia Castro 1.5k points
0 votes
1 answer 11 views
11 views
Problem: chmod' is not recognized as an internal or external command, operable program or batch file.
asked 5 days ago Lucky Guy 1.4k points
0 votes
1 answer 3 views
3 views
Problem: bower' is not recognized as an internal or external command, operable program or batch file.
asked 5 days ago Lucky Guy 1.4k points