Thursday, January 3, 2013

Create Signed Android Application using Eclipse

Signing Android Application

Before I tell you about creating the keystore/key in Android using Eclipse IDE, you should know that it is important to sign the Android Application as the Android system does not allow installing unsigned application on the device and also on the emulator.
Android application can be built in following two modes:
    -  debug mode: use while you are developing and testing the application
    -  release mode: use when you want to publish the application on Google Play or to provide the app to the End User.

Creating Debug Keystore/Key

It is really simple. When you run the Application from Eclipse, the debug mode is enabled by default. The ADT signs the application automatically with the debug certificate and you can run the .apk file on emulator and also on a device. The ADT integrated with Eclipse has access to Keytool utility which auto creates the debug keystore and key. By default the debug keystore/key has the following names and passwords:
    -  key.store=“debug.keystore”
    -  key.alias=“androiddebugkey”
    -  key.store.password=“android”
    -  key.alias.password=“android”
Please note that you cannot release the Android Application signed in debug mode. Also, you can find the debug keystore in the .android folder (in my case C:\Users\Soofia faruq\.android\debug.keystore).

Creating Release Keystore/Key

Creating key using Eclipse IDE is really simple. Right click on your project ApiDemos à Android Tools à Export Signed Application Package as shown in picture below:
Export_Signed_Application_Package
A project selection dialog appears. Here browse the project you want to export:
Select_Project_to_Export
Next, Keystore selection dialog appears. Here you can browse the existing keystore and enter its password or in our case right now, can create a new keystore. Enter the location of the keystore and mention its name. As shown below in picture: C:\keystore\ is the location and market is the name of my keystore. Enter Password and Confirm Password for the keystore which should be strong.
Keystore_Selection
Next in a new dialog as shown below you will be prompted for some more information regarding key. Enter data in all the required fields.
Key_Creation
Specify the destination folder and name of the final build as shown below and hit Finish.
Destination_and_Key/Certification_Check
Now you have the keystore created in the defined folder and also the build. If you are building the signed application using Ant script as mentioned in the post Create Signed Build of Android Application using Ant Script then also you can use the same keystore.

21 comments:


Great information, I like this kind of blog information really very nice and more I can easily new skills are develop after reading that post.
Informatica Training in Chennai | Informatica course in Chennai

This blog has good general information. We have to develop our creative mind and this blog helps to do that. Thank you for this blog. This is very interesting and useful.
Best software Testing Training institute in Chennai | Software Testing courses in Chennai | Testing Training Chennai


Wonderful Post. With one of a kind substance, I truly motivate enthusiasm to peruse this post. I trust this article help huge numbers of them who looking this pretty data.
DOTNET Training in Chennai | DOTNET course in Chennai

I really enjoyed while reading your article, the information you have delivered in this post was damn good. Keep sharing your post with efficient news.
Regards,
Software testing training|Software testing training in chennai

PhenQ is simple and clear that is why the main ingredients and the working is mentioned on each piece of this product so that the customers can get the idea of what actually will be done with their body to reduce their weight.PhenQ diet pills have been the best-selling weight loss option for over a year and its perfect for people who are not losing any weight despite being on a low-calorie diet.

I have read your blog its very attractive and impressive. I like it your blog.

Java Training in Chennai Java Training in Chennai | Core Java Training in Chennai

Online Java Training Java Online Training | Java J2EE Online Training | JavaEE Training Institute in Chennai Java Training Institutes

Creating a new data warehouse is common for the data from disparate sources. It will be easy for analyzing the insights and patterns. Getting the data from the outside source would be great for outset in compatible schema, but it’s a rare case.Get step into FITA for Informatica course.They are offering a wonderful training with experienced professionals.
Informatica Training in Chennai | Informatica Training chennai | Informatica Training institutes in Chennai

Quite interesting field that ever know is Android, thanks for talking about it.
Selenium Training in Chennai|Selenium Training

NooCube by Bauer Nutrition is a great addition to any health or vitamin routine for your mind as it is a good all-natural nootropic.
NooCube Review

Breast Actives
is a 3 step all natural solution for breast enlargement, combining breast pills, cream and a breast exercise and massage program.http://www.breastactivesbuy.com/

Packers and movers in guwahati@
http://www.movingsolution7.in/packers-and-movers-guwahati/
Packers and movers in amritsar@
http://www.movingsolution7.in/packers-and-movers-amritsar/
Packers and movers in hoshiarpur@
http://www.movingsolution7.in/packers-and-movers-hoshiarpur/
Packers and movers in bhulandshahr@
http://www.movingsolution7.in/packers-and-movers-bhubneshwar/
Packers and movers varasani@

Great content thanks for sharing this informative blog which provided me technical information keep posting.
Selenium Training in Chennai | Selenium Testing Course in Chennai

" cognitive enhancement supplements Find out which Cognitive Enhancers Really Work: Brain Training, Drugs, Vitamins, Meditation & Exercise.dont buy before reading any review. http://www.noocube-review.com"

" Nootropics or smart drugs, are being used around the world by students, entrepreneurs, small business owners, athletes, poker players and housewives. http://www.noocube-review.com/"

Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
Regards,
Best Android Training in Chennai | Best iOS Training in Chennai

Male Extra pills are famous on the market. But you have to know some side effects and results. My prof review will help you. http://www.maleextrareviewguide.com

Testosterone is a steroid hormone that is created by the testicles in men, and the ovaries in ladies, in spite of the fact that ladies deliver much littler sums. Testosterone is the essential hormone in the improvement of auxiliary sex qualities in guys, including developing of the voice, development of body hair, expanded muscle quality and bone mass
testosterone booster reviews

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More