错误:“密钥工具”不被识别为一个内部或外部命令,可操作的程序或批处理文件 [英] ERROR:'keytool' is not recognized as an internal or external command, operable program or batch file

查看:377
本文介绍了错误:“密钥工具”不被识别为一个内部或外部命令,可操作的程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用命令

C:\>keytool -list -alias androiddebugkey 
            -keystore .android\debug.keystore 
            -storepass android -keypass android

我得到这个错误:

I get this error:

密钥工具不被识别为一个内部或外部命令,可操作的程序或批处理文件。

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

我没能拿到证书指纹(MD5)我的电脑上。

I'm not able to get the certificate fingerprint(MD5) on my computer.

我已确保密钥库文件是present在适当的位置。

i have ensured that the keystore file is present in the appropriate location.

任何帮助吗?

推荐答案

检查密钥工具可执行文件的目录路径中。 (例如,在我的Windows 7的机器,它在C:\ Program Files文件(x86)的\的Java \ JRE6 \ BIN)

Check that the directory the keytool executable is in is on your path. (For example, on my Windows 7 machine, it's in C:\Program Files (x86)\Java\jre6\bin.)

这篇关于错误:“密钥工具”不被识别为一个内部或外部命令,可操作的程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆