SEARCH

Sunday, October 11, 2015

Create a Keystore for Phonegap Signing your build using a java utility called "keytool"


1)    Find keytool (it comes with java). I found mine at: C:\Program Files (x86)\Java\jre6\bin

  2)  Open command prompt and enter the following commands

        cd C:\Program Files (x86)\Java\jre6\bin

    (use whatever dir you found the keytool in)

        keytool -genkey -v -keystore C:\DIR\APPNAME.keystore -alias APPNAME -keyalg RSA -keysize 2048 -validity 10000

    (Change DIR and APPNAME to something appropriate)

  3)  Enter the keystore password (remember this)
    Answer the questions about yourself: your name, organization, location, etc.
    DONE: The keystore will be created for your app

Remaining Steps:

    1. Upload that to PhoneGap Build.
    2. Unlock the keystore for 1 hour by entering your keystore password
    3. Build the app

This will create a release version of the .apk that can be uploaded to Google Play.



By Hery Purnama
Freelance IT Trainer

0 comments:

Post a Comment

Silahkan isikan comment box untuk komentar Anda..