Android Market - Error While Uploading APK file(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 文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android Market - 上传 APK 文件时出错
基础教程推荐
- 如何对 Java Hashmap 中的值求和 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 存储 20 位数字的数据类型 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
