本文介绍了如何签署一个android apk文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试签署我的 apk 文件.我不知道该怎么做.我找不到好的深入方向.我的编程经验很少,因此我们将不胜感激.

I am trying to sign my apk file. I can't figure out how to do it. I can't find good in-depth directions. I have very little programing experience, so any help would be appreciated.

推荐答案

手册已经够清楚了.请说明您在完成后遇到了什么问题,我建议:

The manual is clear enough. Please specify what part you get stuck with after you work through it, I'd suggest:

https://developer.android.com/studio/publish/app-签名.html

好的,一个没有参考或日食的小概述,所以留下一些错误的空间,但它是这样工作的

Okay, a small overview without reference or eclipse around, so leave some space for errors, but it works like this

  • 在 Eclipse 中打开您的项目
  • 按鼠标右键 -> 工具(android 工具?)-> 导出已签名的应用程序(apk?)
  • 通过向导:
  • 创建一个新的密钥库.记住那个密码
  • 签署您的应用
  • 保存等

另外,来自链接:

使用 Eclipse ADT 编译和签名

如果您将 Eclipse 与 ADT 一起使用插件,您可以使用导出向导导出已签名的 .apk(甚至如有必要,创建一个新的密钥库).导出向导执行所有与 Keytool 和Jarsigner 为您,它允许您使用 GUI 对包进行签名执行手动程序以编译、签名和对齐,如前所述以上.向导编译完成后并签署您的包裹,它也会执行包对齐拉链对齐.因为导出向导同时使用 Keytool 和 Jarsigner,你应该确保它们是可访问的在您的计算机上,如上所述在签名的基本设置中.

If you are using Eclipse with the ADT plugin, you can use the Export Wizard to export a signed .apk (and even create a new keystore, if necessary). The Export Wizard performs all the interaction with the Keytool and Jarsigner for you, which allows you to sign the package using a GUI instead of performing the manual procedures to compile, sign, and align, as discussed above. Once the wizard has compiled and signed your package, it will also perform package alignment with zip align. Because the Export Wizard uses both Keytool and Jarsigner, you should ensure that they are accessible on your computer, as described above in the Basic Setup for Signing.

创建一个签名和对齐的 .apk日食:

To create a signed and aligned .apk in Eclipse:

  1. 在 Package Explorer 中选择项目并选择 File >导出.
  2. 打开Android文件夹,选择Export Android Application,然后点击下一个.

  1. Select the project in the Package Explorer and select File > Export.
  2. Open the Android folder, select Export Android Application, and click Next.

导出 Android 应用程序向导现在启动,它将指导你通过签署的过程您的申请,包括以下步骤选择私钥签署 .apk(或创建一个新的密钥库和私钥).

The Export Android Application wizard now starts, which will guide you through the process of signing your application, including steps for selecting the private key with which to sign the .apk (or creating a new keystore and private key).

这篇关于如何签署一个android apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 00:00