Android > Phone Gap >> Work with Phonegap Views : 5298
Rate This Article :

Generate Key Store File using Cordova CLI

Generating key file is important to sign an APK file. This article explains how to generate key file to sign the APK file with simple steps.

1.        Run “GIT CMD” Prompt

2.        Go to “C:\Program Files\Java\jre7\bin” and make sure “keytool.exe” is present

3.        Create a folder where the key file need to get generated. E.g. D:\temp\

4.        Execute the below script by changing the appropriate folder and Key file name

keytool -genkey -v -keystore D:\temp\myapp-release-key.keystore -alias myappname -sigalg SHA1withRSA -keyalg RSA -keysize 2048 -validity 10000

Below details needs to be filled to generate Key file. Note: Password which is given to build key file is necessary to be given during signing process.

How to generate Key Store File

After providing all details, key file will get generated in the given path. Read this article to know how to sign the APK file.

About Author
Raj Kumar
Total Posts 55
Developer in .Net!
Comment this article
Name*
Email Address* (Will not be shown on this website.)
Comments*
Enter Image Text*
   
View All Comments
Comments not posted yet!! Please post your comments on this article.
  Privacy   Terms Of Use   Contact Us
© 2016 Developerin.Net. All rights reserved.
Trademarks and Article Images mentioned in this site may belongs to Microsoft and other respective trademark owners.
Articles, Tutorials and all other content offered here is for educational purpose only and its author copyrights.