简体   繁体   English

Flutter:keytool命令生成的keystore文件在哪里?

[英]Flutter: Where is the keystore file generated by keytool command?

Base on flutter docs, the keystore should be located on the directory you provided on keytool command, but once you check the directory, there's none, where is it?根据 flutter 文档,密钥库应该位于您在 keytool 命令中提供的目录中,但是一旦您检查了该目录,就没有了,它在哪里?

keytool -genkey -v -keystore ./keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias keystore

As of Dec. 2022, it doesn't matter what directory you give on keytool command because it will always generate the keystore on the base root of flutter project.截至 2022 年 12 月,您在 keytool 命令中提供的目录并不重要,因为它始终会在 flutter 项目的根目录上生成密钥库。

在此处输入图像描述

But despite all that, it is still important to move it to somewhere safe or logical, in my case android/app/但是尽管如此,将它移动到安全或合乎逻辑的地方仍然很重要,在我的例子中是android/app/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM