Keytool command not recognized

时间:2016-07-11 19:25:05

标签: java android google-api google-plus

I'm working on Login with Google+ activity and when I write command "Keytool" in Cmd this message appears: "keytool is not recognized as an internal or external command".

How do I fix this problem ?

1 个答案:

答案 0 :(得分:9)

The Keytool command can only be ran if you have added it to your path or from within the directory where it is located.

If you are on Windows, most likely it is located here:

C:\Program Files\Java\\bin

You'll need to either run the keytool command from there, or add the keytool location to your PATH environment variable.