首页 > 解决方案 > 使用密码生成密钥库文件时出现问题

问题描述

我已经阅读了一些关于如何导出颤振应用程序的教程,但我似乎无法获得密钥库的东西。在他们输入命令后的教程中,输入密码的选项出现了,但我只得到一个命令列表,比如这个

标签: androidflutter

解决方案


That's because the command you entered isn't right. I understand you are using "" to put folder names which have spaces in it. But the way you have used them will change the meaning of whole command. That's what the command prompt is complaining saying Iilligal option:

Keep your entire command including the folder paths in a single double quote pair. Use it like this:

"C:\Program Files\Android\Android Studio\jre\bin\keytool -genkey -v -keystore E:\nush\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key"

推荐阅读