Reputation: 161
I want to know the information of publishing an android apk in google play store.i read the developer website.But i struggled to get the private key for apk file.how to get the signed apk file with release mode.so i need some step by step process.
Upvotes: 4
Views: 15024
Reputation: 27748
Here a few steps to help you create a release private signing key:
That's all there is to it.
NOTE: The release signing key is to be created by the developer and not by Google for the dev. It is a self signed certificate. Keep this key safe and secure, and possibly in multiple locations. If you are to loose access to the signing key file created in Step 4 above, you will not be able to publish updates to your application. There are no known ways of recovering a lost key. The same applies to the passwords you select in the process above. Do not loose either the key file or it's passwords.
Read more about signing your applications here: http://developer.android.com/tools/publishing/app-signing.html
Upvotes: 7
Reputation: 23638
Check this out : Compile the application in the release mode
Android Tools > Export Signed Application Package
Support for a true debug build. Developers no longer need to add the android:debuggable attribute to the tag in the manifest — the build tools add the attribute automatically. In Eclipse/ADT, all incremental builds are assumed to be debug builds, so the tools insert android:debuggable="true". When exporting a signed release build, the tools do not add the attribute. In Ant, a ant debug command automatically inserts the android:debuggable="true" attribute, while ant release does not. If android:debuggable="true" is manually set, then ant release will actually do a debug build, rather than a release build.
Upvotes: 0
Reputation: 3261
There's a guide to signing Android applications on the developer website:
http://developer.android.com/guide/publishing/app-signing.html
Upvotes: 0
Reputation: 3587
If you are using eclipse right click on your project >tools>export signed apk
then follow the steps. You will be asked to either use existing or generate a new key there select option to generate new key and a new key will be generated
Upvotes: 0