Android Market - 上传 APK 文件时出错 [英] Android Market - Error While Uploading APK file

查看:35
本文介绍了Android Market - 上传 APK 文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚我开发了一个应用程序,现在我准备将它上传到Android市场,但是当我尝试上传时,它会显示以下错误消息:

Just now I have developed an application and now I am ready to upload it to Android market, but when I am trying to upload, it shows the following error message:

Market 不接受使用调试证书签名的 apk.创建一个有效期至少为 50 年的新证书.市场要求用于签署 apk 的证书至少在 2033 年 10 月 22 日之前有效.创建一个新证书.

Market does not accept apk signed with the debug certificate. Create a new certificate that is valid for atleast 50 years. Market requires that the certificated used to sign the apk be Valid until at least October 22, 2033. Create a new Certificate.

现在我该如何解决这个问题,以便我可以成功地将 APK 文件上传到 Android 市场?

Now how do I fix this problem, so that I can upload the APK file to Android market successfully?

推荐答案

开发测试时,可以调试模式编译(调试证书).

While developing and testing, you can compile in debug mode(debug certificate).

当您的应用程序准备好发布时,您必须在发布模式下编译,然后使用您的私钥签署 .apk.

When your application is ready for release, you must compile in release mode and then sign the .apk with your private key.

以下链接对您有帮助

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

这篇关于Android Market - 上传 APK 文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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