如何将文件转换为密钥库格式

问题描述 投票:0回答:1

我正在做一个反应本机应用程序。 问题是,之前的

keystore
.txt
格式。 如何将其更改为 .keystore 文件?

我已经尝试过这些

  • 手动更改文件格式
  • 使用 Android studio 重新创建密钥库
  • 使用此命令
    keytool -importcert -file ***.keystore.txt -keystore ***.keystore

我尝试使用

AppCenter
上的原始文件,但我得到了

我尝试将文件重新保存为

.keystore
,但我得到了

还有其他办法吗?

提前谢谢您。

android react-native keytool
1个回答
0
投票

请尝试以下操作 “keytool -importkeystore -srckeystore current_keystore.txt -destkeystore new_keystore.keystore -deststoretype pkcs12”

© www.soinside.com 2019 - 2024. All rights reserved.