如何为市场签署安卓应用程序?
我最近在市场上发布了我的第一个应用程序.我试图在它发布后立即在我的手机上安装该应用程序.但是在安装它时,我收到一条错误消息,说应用程序签名错误.我的应用也收到了很多差评,因为其他人也无法安装它.
I've recently released my first app on the market. I tried to install the app on my phone immediately after it was released. But when installing it I got an error saying that the app was wrongly signed. I also got lots of bad ratings for my app because other people couldn't install it as well.
所以我的问题是:如何正确签署我的应用程序?有什么方法可以在应用程序投放市场之前测试结果?
So my question is: how can I sign my app correctly? Is there any way to test the result before releasing the app on the market?
顺便说一句:我使用eclipse的内置函数导出签名的apk文件.
BTW: I used the built in function of eclipse to export the signed apk file.
推荐答案
您需要创建用于签署应用程序的 Release Key.
You need to create Release Key for Signing your Application.
步骤:1右键单击项目->导出应用程序->选择您的项目->下一步->选择新的密钥库->完成所有其余步骤
Step : 1 Right Click Project->Export Application->Select you Project->Next->Select new Keystore -> Complete all rest Steps
步骤:2 记下您的别名名称和密码.
Step : 2 Note down your Alias name and Password given.
步骤:3 现在,如果您完成填写详细信息的所有过程,您将在您的存储位置获得一个 .apk 文件和 keystore 文件.
Step : 3 Now if you Complete all process of Filling Details you will get one .apk file and keystore file in you stored location.
步骤:4 现在再次右键单击项目->导出应用程序->选择您的项目->下一步->使用现有密钥库->提供位置和密码->下一步
Step : 4 Now Again Right Click Project->Export Application->Select you Project->Next->Use Existing Keystore -> Give location and password->Next
步骤:5 现在您的别名将出现在您的下拉菜单中->选择它->输入密码->下一步
Step : 5 Now you alias name will comes in your Drop Down->Select it -> Enter Password -> Next
步骤:6 它将询问存储最终 .apk 文件的位置.
Step : 6 It will ask for location to store your final .apk file.
步骤:7 选择您的位置和商店.
Step : 7 Select your location and store.
步骤:8 现在这个最终的.apk 文件就是您的签名应用程序.
Step : 8 Now this Final .apk file is Your Signed Application.
注意:保留此密钥库文件以进一步更新您在 Android Market 中的应用程序,同时跟踪您的别名和密码
Note : Keep this keystore file for further updated of your Application in Android Market ,also keep track of your Alias name and Password
相关文章