如何注册一个Android APK文件 [英] How to sign an android apk file

查看:259
本文介绍了如何注册一个Android APK文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想签我的apk文件。我无法弄清楚如何做到这一点。我找不到很好的深入的方向。我有很少的编程经验,所以任何帮助,将AP preciated。

解决方案

本手册是很清楚。请具体说明哪些部分你卡住伴你走过它的工作后,我建议:

http://developer.android.com/guide/publishing/app- signing.html

好了,一个小的概述,而不引用或偏食周围,所以离开的错误一些空间,但它的工作原理是这样

  • 在Eclipse中打开你的项目
  • preSS鼠标右键 - >工具(Android的工具?) - >出口签名的应用程序(?APK)
  • 通过向导:
  • 请一个新的密钥存储。记住密码
  • 登入您的应用程序
  • 将其保存等。

此外,从链接:

  

编译并签署与Eclipse ADT

     

如果您使用的是Eclipse的ADT   插件,您可以使用导出向导   导出一个签名的apk(甚至   如果有必要创建一个新的密钥库,)。   导出向导执行所有的   用keytool互动,   的jarsigner对你来说,它可以让你   使用图形用户界面,而不是签署包   对执行程序手动   编译,签名,并调整,以讨论   以上。一旦向导编译   并签署你的包,它也将   与执行包排列   拉链对齐。由于导出向导   同时使用的Keytool和的jarsigner,你   应确保他们都可以访问   您的计算机上,如上所述   在基本设置的签名。

     

要在创建签名并对齐.apk文件   Eclipse的:

     
      
  1. 选择在Package Explorer中的项目,然后选择文件>   导出。
  2.   
  3. 打开Android的文件夹,选择导出Android应用程序,然后单击   下一步。

         

    导出Android应用程序向导现在开始,这将引导   您完成签约的过程   您的应用程序,包括步骤   选择所述私钥与   签署的apk(或创建一个新的   密钥存储和私有密钥)​​。

  4.   
  5. 完成导出向导,你的应用程序将被编译,   签署,对齐,并准备   分配。
  6.   

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:

http://developer.android.com/guide/publishing/app-signing.html

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

  • Open your project in eclipse
  • Press right-mouse - > tools (android tools?) - > export signed application (apk?)
  • Go through the wizard:
  • Make a new key-store. remember that password
  • Sign your app
  • Save it etc.

Also, from the link:

Compile and sign with Eclipse ADT

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.

To create a signed and aligned .apk in Eclipse:

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

    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).

  3. Complete the Export Wizard and your application will be compiled, signed, aligned, and ready for distribution.

这篇关于如何注册一个Android APK文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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