为 kivy 应用程序生成发布密钥库时出错
Error generating release keystore for kivy application
我是 kivy 的新手,而且 linux 对于任何明显的错误,我们深表歉意。不管怎样,我在终端中输入了这个:
keytool -genkey -v -keystore ./keystores/My1Key.keystore -alias M1K -keyalg RSA -keysize 2048 -validity 10000
我填写了所有信息,但收到此错误消息:
keytool error: java.io.FileNotFoundException: ./keystores/My1Key.keystore (No such file or directory)
java.io.FileNotFoundException: ./keystores/My1Key.keystore (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:1152)
at sun.security.tools.KeyTool.run(KeyTool.java:340)
at sun.security.tools.KeyTool.main(KeyTool.java:333)
请帮助我理解这意味着什么以及如何阻止它发生。
抱歉我太天真了,我试着尽可能简单地提出问题,谢谢你的任何 answers/comments。 :)
我真是个笨蛋,我是这样解决的:
我在主目录中创建了一个名为 "keystores" 的文件夹。
:P
我是 kivy 的新手,而且 linux 对于任何明显的错误,我们深表歉意。不管怎样,我在终端中输入了这个:
keytool -genkey -v -keystore ./keystores/My1Key.keystore -alias M1K -keyalg RSA -keysize 2048 -validity 10000
我填写了所有信息,但收到此错误消息:
keytool error: java.io.FileNotFoundException: ./keystores/My1Key.keystore (No such file or directory)
java.io.FileNotFoundException: ./keystores/My1Key.keystore (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:1152)
at sun.security.tools.KeyTool.run(KeyTool.java:340)
at sun.security.tools.KeyTool.main(KeyTool.java:333)
请帮助我理解这意味着什么以及如何阻止它发生。
抱歉我太天真了,我试着尽可能简单地提出问题,谢谢你的任何 answers/comments。 :)
我真是个笨蛋,我是这样解决的:
我在主目录中创建了一个名为 "keystores" 的文件夹。
:P