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:带有char数组的println给出乱码 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- 降序排序:Java Map 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01