Wednesday, January 2, 2013

Create Signed Build of Android Application using Ant Script

If you want to create a signed build of the Android Application using Ant Script then follow the following procedure.

As mentioned in the previous post Build Android Application Using Ant Script following files were created in the project:
    -  build.xml
    -  proguard-project.txt

Now, open the file and add the following information:
    -\\Users\\Soofia faruq\\Desktop\\Keystore\\market.keystore
    -  key.alias=marketKeystore
    -  key.alias.password=android

I am assuming that you have keystore created if not then follow my next post. Here,
    - is the path to your keystore.
    -  key.alias is the called name of your keystore.
    - and key.alias.password are optional.

If you want to keep the password secret then you don’t have to mention it here but during execution of >ant release command you will be prompted for password.

Save the and execute the >ant release command from command prompt:

You can now find the signed and aligned .apk (ApiDemos-release.apk) file in the bin folder of the project.


I really like the method which they use to create this Android app. Script which shared you in the post is also very helpful for me. custom web app development service

Thank you so much for your blog. I have been using it as reference for my students during Android Courses in Chennai. It has been so much useful, keep writing more :)

Thanks for this post it is great for app makers developers of APPs who want to automate things.

Thanks for this post it is great for app makers developers of APPs who want to automate things.

Excellent post!!! Java is most popular and efficient programming language available in the market today. It helps developers to create stunning desktop/web applications loaded with stunning functionalities. Java Course in Chennai | Best JAVA Training in Chennai

The blog was absolutely fantastic! Lot of great information which can be helpful in some or the other way. Keep updating the blog, looking forward for more contents...Great job, keep it up..
Web Design Bangalore

FITA is the leading IT training institute in Chennai offering professional training on more than 125+ IT courses by experienced professionals.It is useful to make a bright career.
Android Training in Chennai | Android course in Chennai

What a fun and upbeat read! I wanna start a blog now after reading this!,
Wedding Planners in Delhi

We provide Maharaja Express Booking, A train almost half a mile long redefines luxury and comfort which will ultimately recall you the lifestyle of a princely era.
Maharaja Express

I am so thankful for your post.Really good.After reading this post,I got more ideas about android.I preferred it.Keep sharing more like this.
Software Testing courses in chennai | Digital Marketing course in Chennai | SEO course in Chennai

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More