获取生成的调试密钥/证书,以便在不同的机器上进行开发 [英] Obtain generated debug key/certificate for developing on different machines

查看:83
本文介绍了获取生成的调试密钥/证书,以便在不同的机器上进行开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse开发应用程序,并且我想使用两台计算机(台式机和笔记本电脑)来开发此应用程序。我最近使用Eclipse安装了笔记本电脑,并将项目导入到该计算机上。但是,我意识到我无法将笔记本电脑上的应用程序启动到手机上,因为从台式机上构建应用程序时自动生成的签名与笔记本电脑上自动生成的签名不匹配;除非我在手机上将其卸载。有谁知道如何从一个Eclipse导出自动生成的签名并将其导入到另一个Eclipse?

I'm using Eclipse to develop an app and I have two computers (a desktop and laptop) that I want to use to develop this app. I recently set up my laptop with Eclipse and imported the project over to that computer. However, I realized that I can't launch the application from my laptop onto my phone because the signature that is automatically generated when I build the app from my desktop doesn't match the one that is automatically generated on the laptop; unless I uninstall it on the phone. Does anyone know how to export the automatically generated signature from one Eclipse and import it into another?

推荐答案

自动生成的密钥称为调试密钥/证书。

The automatically generated key is called the debug key/certificate.

您应该生成一个新密钥,只需将其复制到两个设备上即可。唯一的缺点是,由于需要手动步骤,因此构建过程会更长。

You should generate a new key can just copy it over to both your devices. The only negative of this is your builds process is longer as you need a manual steps.

另一个选择是从其中一个系统复制调试密钥。

The other option is to copy over the debug key from one of the systems.

您将在Linux&的主目录中的文件夹 .android 中找到密钥。 Windows中的用户目录

You will find the keys in a folder names .android in your home directory in Linux & user directory in Windows

提示:将应用程序推向市场后,切勿丢失证书。

Tip: Never loose the certificate once you push an app to the market.

这篇关于获取生成的调试密钥/证书,以便在不同的机器上进行开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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