开发者

How to sign an android app for the market?

开发者 https://www.devze.com 2023-04-12 01:36 出处:网络
I\'ve开发者_C百科 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

I've开发者_C百科 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?

BTW: I used the built in function of eclipse to export the signed apk file.


You need to create Release Key for Signing your Application.

Step : 1 Right Click Project->Export Application->Select you Project->Next->Select new Keystore -> Complete all rest Steps

Step : 2 Note down your Alias name and Password given.

Step : 3 Now if you Complete all process of Filling Details you will get one .apk file and keystore file in you stored location.

Step : 4 Now Again Right Click Project->Export Application->Select you Project->Next->Use Existing Keystore -> Give location and password->Next

Step : 5 Now you alias name will comes in your Drop Down->Select it -> Enter Password -> Next

Step : 6 It will ask for location to store your final .apk file.

Step : 7 Select your location and store.

Step : 8 Now this Final .apk file is Your Signed Application.

Note : Keep this keystore file for further updated of your Application in Android Market ,also keep track of your Alias name and Password


We can't really tell you from afar what is wrong. Did you create your own self-signed certificate? The cert that comes with SDK is a debug certificate and should not be used for signing a production app.

I recommend you thoroughly read the docs about signing the apps.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号