配置Eclipse以使用签名的密钥库 [英] Configure Eclipse to use signed keystore

查看:159
本文介绍了配置Eclipse以使用签名的密钥库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我终于为我的应用程序创建的最终密钥存储。由于我的应用程序使用谷歌地图,我走我必须更新所有布局使用从应用程序所产生的新的API密钥以及..

I have finally created a 'final' keystore for my app. As my app is using Google Maps, I take I have to update all Layouts to use the new API Key resulting from the app as well..

现在,我充分意识到导出一个签名的APK发布的要求,但是之后呢?我的想法是,为进一步开发和测试,这将是最简单的,如果我能配置Eclipse使用调试密钥库的我的最后的密钥库,而不是...但是我发现没有办法做到这一点?它只允许我配置一个另类调试的关键,但我想这是不一样的。

Now I'm fully aware of the requirement to export a signed APK for release, but what after that? My thoughts are that for further development and testing, it would be easiest if I could configure Eclipse to use my final keystore instead of the debug keystore … but I found no way to do that? It only allows me to configure an 'alternative' debug key but I guess that's not the same.

对不起,如果我太糊涂了,如果我在这里完全误解了一些东西。

Sorry if I am too confused if I have totally misunderstood something here.

推荐答案

我能够用我的谷歌播放版本的密钥库作为我的自定义调试密钥库,以帮助调试应用程序内购买功能。同样可以毫无疑问的被应用到调试谷歌地图的东西为好。

I was able to to use my Google Play release keystore as my custom debug keystore to help with debugging in-app purchase functionality. The same could no doubt be applied to debugging Google Maps stuff as well.

由于 Devunwired提到的,也有注意事项。但我的解决办法是这样的:

As Devunwired mentioned, there are caveats. But my solution was this:

  1. 将您释放键的地方。
  2. 更改密钥库密码/密钥密码和密钥别名以下的这里指令(也继Devunwired的建议,使它看起来像一个调试密钥库)。
  3. 更改Eclipse的preferences>安卓>生成>自定义密钥库设置的副本,在步骤1中所做的路径。
  4. 完成!
  1. Copy your release key somewhere.
  2. Change the keystore password/key password and key alias following the instructions here (also, following Devunwired's recommendations to make it look like a debug keystore).
  3. Change Eclipse's Preferences > Android > Build > Custom keystore setting to the path of the copy made in step 1.
  4. Done!

这篇关于配置Eclipse以使用签名的密钥库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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