android 应用签名

来源:互联网 发布:ubuntu命令行安装deb 编辑:程序博客网 时间:2024/06/11 23:44
 Signing and Publishing
For an application to be accepted on the Android Market, it needs to be signed.To do
this, a private key needs to be generated and kept in a secure place.Then, the app needs to
be packaged in release mode and signed with the private key.When an application is
upgraded, the same key needs to sign it to ensure a transparent update for the user.
Eclipse automatically does all of this. Just right-click on the project to be signed and
select Export... → Export Android Application to initiate packaging.A password can be
used to create a private key, which is saved for future applications and upgrades.Then,
continue through the menu to the creation of an APK file.This is a packaged version of
the Android project in release mode and signed with the private key. It is ready for upload

to the Android Market.


《The.Android.Developers.Cookbook》p34