如何找到并运行 keytool [英] How can I find and run the keytool

查看:27
本文介绍了如何找到并运行 keytool的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 这里

它说我必须使用 keytool 为我的应用程序导出签名,例如:

It says that I must use keytool to export the signature for my app such as:

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

我不知道如何找到 keytool 来运行它.我尝试打开 Windows 命令提示符并粘贴上述命令,但没有奏效.

I do not know how to find the keytool in order to run it. I tried to open a Windows command prompt and paste the above command, but it did not work.

推荐答案

我自己找到了一个解决方案,如下引用.它工作正常.

I found a solution by myself as below quote. It works fine.

"C:Program FilesJavajdk1.6.0_26inkeytool.exe" -exportcert -alias
> sociallisting -keystore "D:keystoreSocialListing"  |
> "C:cygwininopenssl.exe" sha1 -binary | "C:cygwininopenssl.exe"
> base64

这篇关于如何找到并运行 keytool的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆