Thursday, August 27, 2015

Sign Releases with Cordova Android - Cordova 5

The Cordova CLI for Cordova 5 Phonegap  tutorial

Introduction: Adobe PhoneGap© says that it takes the pain off developing mobile apps! Android developers seemed to take heed of that as well as ios developers. And windows mobile app makers too. The biggies on deciding how to make an app have chosen Phonegap as the app creator. But the constant software development and revisions take a heavy toll on developers time and on documentation! 
As does not revise what is to be done for Gradle and Cordova 5, here it is for our developer colleagues revised as on 28 August 2015
Since the Cordova 5 was introduced about a few months ago, building and deploying Cordova apps for development has become different to say the least. E.g. for Android:

$ cordova build android

$ cordova run android

As before if you want to build a release version of an APK from the command line for production. Use command below however, this does not sign your release:

$ cordova build android --release

 To release a signed apk to Android with Cordova 5, first a keystore file must be created as usual.

$ keytool -genkey -v -keystore <"Name of Application">.keystore -alias <"Your Alias"> -keyalg RSA -keysize 2048 -validity 10000

Enter the keystore password and continue entering in all the rest of the prompted information
Copy this newly created key store created whichever folder you are in, into the platform/android directory.

Release in CLI workflow

Use this below to hooks directly into the cordova build android --release command.
Cordova 5 (might have been 4 as well) uses Gradle to compile now, so the old no longer works. 
You can work the same trick by creating a file in platforms/android and adding the following fill with your file name and other information:
// optional :
Also It works with Java 7 no issues, no certificate signing issues. 
And finally give the command 
cordova build android --release 

and you get a signed zip aligned apk to be sent to the Google play store. 

Its is found in /platforms/android/build/outputs/apk/ folder

Happy developing!
Thanks Adobe and Apache Cordova

Get more value from your mobile app strategy

Develop Cross Platform Mobile apps.Call us


  1. Great information. Thanks for providing us such a useful information. Keep up the good work and continue providing us more quality information from time to time. Android Development

  2. A magnificent post this. I really love the way you've presented the writing in this blog. It's very lovely and I hope you keep this quality of your work going. Mobile App Maker in Mumbai || Mobile App Maker Company in Mumbai || App Developers in Mumbai || Mobile App Developers in Mumbai || Mobile App Development Companies in Mumbai || Mobile Application Development Companies in Mumbai

  3. Thanks for sharing this helpful article,
    radio app builder

  4. It's perfect article about mobile app development,.

    desarrollo de aplicaciones moviles

  5. Thank you so much for this nice post,.
    android developer

  6. Thank you for posting useful information.To get best Blackberry app development services visit
    Black berry development company

  7. This blog has tempted me and now it seems that I must visit all the time this web page.

  8. I am satisfied that you simply shared this useful information with us.
    game app developers

  9. Nice post. I learn something more challenging on different blogs everyday. It will always be stimulating to read content from other writers and practice a little something from their store. I’d prefer to use some with the content on my blog whether you don’t mind. Natually I’ll give you a link on your web blog. Thanks for sharing.
    ios app development company

  10. I wish to have some more blogs about the lastest android development,.
    android nougat news

  11. really nice article !!! I had learned so many things reading this article, thanks a lot for sharing the information. Our site also provides an innovative and interactive Mobile App Services and if you want more ideas to refer our site:

  12. Thanks for the post, you have provided a simple step by step process so anyone can understand easily. For understanding Mobile Application Services and Android Development, you can visit Yberry Infosystem in Indore Visit:

  13. Thanks for sharing with us it was a nice and very helpful blog .
    Application design and development USA

  14. These ways are very simple and very much useful, as a beginner level these helped me a lot thanks fore sharing these kinds of useful and knowledgeable information.
    Android App Development Company

  15. I just want to say that all the information you have given here is awesome...great and nice blog thanks sharing..Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
    Web Design Development Company
    Web design Company in Chennai
    Web development Company in Chennai

  16. Thank you very much for the informative article about Digital Agency. We won't tell you we are the best Logo Designer Brisbane, But we assure to help businesses to generate more revenue through SEO Company Brisbane

  17. it is a beautiful post, and I want to say thank you so much for sharing this information.
    digital marketing services in india


  18. In the last few months we've seen a lot of Health Care Reform rules and regulations being introduced by the Health and Human Services Department. Every time that happens, the media gets hold of it and all kinds of articles are written in the Wall Street Journal, the New York Times, and the TV network news programs talk about it. All the analysts start talking about the pros and cons, and what it means to businesses and individuals. Health is God

  19. I think this is a real great article post.Really looking forward to read more. Visit at
    Crazy Video Hub

  20. Nutra Trials defines personal characteristics of different health products including skincare, weight loss, muscle and male enhancement. The study presented here is briefly described for reader convenience and to deliver them assurance with health standards. The best possible answers are given here regarding the selection of an ideal supplement or cream or serum that possibly remains to be safe for health and do not cause any side effects.

  21. It is a great job, I like your posts and wish you all the best. and I hope you continue this job well.
    NutraT line

  22. This is a great post ! it was very informative. I look forward in reading more of your work. Also, I made sure to bookmark your website so I can come back later. I enjoyed every moment of reading it..
    kim kardashian sex tape
    porn sex video hd
    mia khalifa sex video
    sunny leone sexy movie

  23. Hello, I am thomus jons thank you for this informative post. That is a great job. Wish you more success.Thank you so much and for you all the best. Takes Down

    1. Times For Health is Online Health & Wellness Program! This post is really really nice and so informative. Thanks for the nice post share with us!

  24. Healrun is a health news blog we provide the latest news about health, Drugs and latest Diseases and conditions. We update our users with health tips and health products reviews. If you want to know any information about health or health product (Side Effects & Benefits) Feel Free To ask HealRun Support Team.

  25. Supplements For Fitness developed countries, the level of consumption is much higher, and this phenomenon was developed almost four decades ago due to modern lifestyle and unhealthy food.The question refers to the effect of

  26. Pilpedia is supplying 100 percent original and accurate information at each moment of time around our site and merchandise, and the intent is to improve the usage of good and pure health supplement. For More Info please visit Pilpedia online store.

  27. We are here to give you a complete review on the Parallel Profit project by Steve Clayton and Aidan Booth. If you are someone from the field you would already be familiar with these two names, for those of who are new. Parallel Profits Review

  28. Best softwares for Internet Marketers and legitimate make money online opportunities.

  29. is dedicated to bring you the best in Internet Marketing, Blogging and the entire Make Money Online spectrum. We are your finest source of info.

  30. Revuesdefaits defines personal characteristics of various health merchandise together with skincare, weight loss, muscle and male enhancement. The study presented here is briefly described for reader convenience and to deliver them assurance with health standards. The best potential answers are given here concerning the selection of a perfect supplement or cream or serum that presumably remains to be safe for health and do not cause any facet effects.

  31. Buyers Reviews defines personal characteristics of

    different health products including skincare,weightloss,muscle and male enhancement.Buyers Reviews

    is supplying 100% original and accurate information at each moment of time around our site and

    merchandise, and the intent is to improve the usage of good and pure health supplement.


  32. Pinterest



    Supplements Book We have best and natural Product of health & wellness supplement you can get several benefits with Us.Different health products including skincare,weightloss,muscle and male enhancement.

  33. Looking for a legitimate FastComet Reviews?Fastcomet hosting also known as one of the most trustable and user friendly web hosting in 2018. We are now ready to review FastComet web hosting after testing it for last seven months. Now its time to reveal what we found. Stay with this post to Know more and more about FastComet WordPress web hosting.


  34. Suplementarios >>> La autenticidad de nuestro sitio web es claramente visible a través de salud y estado fisico con el nombre mencionado en él. Tenemos el mejor producto relacionado con la salud aquí y la tendencia a ofrecer nuestro mejor apoyo a los huéspedes que buscan detalles de los suplementos y comparaciones entre ellos. Para más información amable >>>

  35. 9 Ways Twitter Destroyed My Forex Duality Without Me Noticing -