keytool不被识别为内部/外部命令,可操作程序或批处理文件

时间:2017-07-20 11:48:51

标签: android keytool signing android-keystore

当我使用命令keytool -genkey -v -keystore MY-RELEASE-KEY.keystore -alias MY_ALIAS_NAME -keyalg RSA -keysize 2048 -validity 10000

我收到这样的错误'keytool' is not recognized as an internal or external command, operable program or batch file. 我该怎么办?

1 个答案:

答案 0 :(得分:1)

您需要导航到C:\Program Files\Java\jdk_version\bin并在那里执行请求