How to sign an android app for the market?

Boris picture Boris · Oct 11, 2011 · Viewed 14.2k times · Source

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?

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

Answer

Venky picture Venky · Oct 11, 2011

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