为kivy应用程序

时间:2015-07-14 19:46:38

标签: android linux terminal kivy android-keystore

我是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)

请帮助我理解这意味着什么,以及如何阻止它发生。

抱歉我天真,我尽可能简单地提出问题,谢谢你的回答/评论。 :)

1 个答案:

答案 0 :(得分:3)

我多么笨拙,这就是我如何解决它:

我在主目录中创建了一个名为“keystores”的文件夹。

:P

相关问题