我正在尝试在 Eclipse 中导出已签名的 Android 应用程序.
I'm trying to export a signed Android application in Eclipse.
我认为我的方向是正确的:
I think I'm going in the right direction:
看起来像这样(原谅我的 ascii,文件上传器不工作):
It looks like this (forgive my ascii, file uploader not working):
[ ] Use existing keystore
[o] Create new keystore
Location: __________ [Browse]
Password: __________
Confirm: __________
我没有现有的密钥库,因此我单击创建新密钥库"单选按钮.位置字段保持活动状态,必须填写,如果我浏览到某个目录,我希望密钥库在创建后继续,对话框会抱怨密钥库路径是一个目录."
I don't have an existing keystore, so I click the "Create new keystore" radio button. The location field remains active, must be filled, and if I browse to some directory I'd like the keystore to go after it's created, the dialog complains that "Keystore path is a directory."
android 开发者页面中的 Compile and sign with Eclipse ADT 部分似乎是这样认为的会解决的,但我无法通过对话的这一部分.我可以很好地导出未签名的 .apk 文件.
The Compile and sign with Eclipse ADT section in the android developer page seems to think this will just work out, but I can't get past this part of the dialog. I can export unsigned .apk files just fine.
谢谢!
您应该能够使用对话框创建密钥库,是的.导航到要使用的文件夹后,在文件浏览窗口的文件名:"字段中键入名称,例如sophie.keystore
.然后你应该能够继续.
You should be able to create a keystore with the dialog, yes. After navigating to the folder you want to use, type a name in the 'File name:' field in the file browse window, e.g. sophie.keystore
. Then you should be able to proceed.
或者,您可以按照 中的说明在命令行上创建它文档.
命令如下所示:
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
例如:
keytool -genkey -v -keystore ~/dcaunt.keystore -alias dcaunt -keyalg RSA -keysize 2048 -validity 10000
这篇关于在导出 Android 应用程序向导中为 Android 应用程序生成密钥库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!