密钥库 Eclipse ADT 文件位置

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7112392/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:51:51  来源:igfitidea点击:

Keystore Eclipse ADT file location

androideclipseadt

提问by Sprouts

I have developed and released an app on the Android Market. I compiled the release, signed and zipaligned with Eclipse ADT export. This process created a Keystore for me in the wizard. The steps i took are detailed in the Android dev guide.

我在 Android Market 上开发并发布了一个应用程序。我编译了发行版,使用 Eclipse ADT 导出进行了签名和压缩。这个过程在向导中为我创建了一个密钥库。我采取的步骤在Android 开发指南中有详细说明

I want to know, Where does the newly created keystore reside? I want to take it and reuse on another project but i am not sure where i can find it.

我想知道,新创建的密钥库在哪里?我想把它拿来再用在另一个项目上,但我不确定在哪里可以找到它。

I thought it would be named something like my-release-key.keystorebut i cant find it. Sorry if this comes out as a dumb question but i am quite new to this and is a wearied thing to get stuck on.

我以为它会被命名为my-release-key.keystore 之类的东西,但我找不到它。对不起,如果这是一个愚蠢的问题,但我对此很陌生,并且是一件令人厌烦的事情。

Edit: I used the Eclipse ADT Wizard and in there i entered the location as follows...

编辑:我使用了 Eclipse ADT 向导,并在其中输入了如下位置...

Keystore Location

密钥库位置

I am developing on a Mac and a very new mac user. I just dont know where this file has been placed. It i not in the project folder or the "cd /" location.

我正在 Mac 上开发,并且是一个非常新的 mac 用户。我只是不知道这个文件放在哪里。它不在项目文件夹或“cd /”位置。

Thanks

谢谢

采纳答案by 4e6

When using eclipse wizard you can explicitly set keystore destination folder. But if you didn't do it (in your case), eclipse will save new key in your home directory.

使用 eclipse 向导时,您可以明确设置密钥库目标文件夹。但是如果您没有这样做(在您的情况下),eclipse 会将新密钥保存在您的主目录中。

Eclipse Wizard

日食向导

回答by yee

OK, I found out the Eclipse ADT on Mac OS X saves keystores by default in Eclipse.app/Contents/Mac OS :-(

好的,我发现 Mac OS X 上的 Eclipse ADT 默认将密钥库保存在 Eclipse.app/Contents/Mac OS 中 :-(

回答by Ranjit

Basically in windows(Checked in Window 7) the release_kestore stores by default in C:\Users\xyz\release_keystore. Then we have to move it to our comfortable place.

基本上在 windows(在 Window 7 中检查)中,release_kestore 默认存储在C:\Users\xyz\release_keystore. 然后我们必须将它移动到我们舒适的地方。

回答by 4e6

You should manually create it with keytool. This step described in Obtain a suitable private keypart of the guide.

您应该使用keytool. 此步骤在指南的获取合适的私钥部分中描述。