Saturday, April 21, 2012

Creating a Android Keystore For Corona SDK

I recently had some trouble creating a keystore for an Android app I was developing for Corona SDK. Below are the steps I used to generate it. I did this on Windows 8 consumer preview but it should work just fine for Windows 7.

  1. Find where your Java jdk is installed and open up the bin folder. Mine was located at C:\Program Files (x86)\Java\jdk1.6.0_31\bin.
  2. Open a command prompt in this directory. A quick way to do this is by shift clicking in the directory and selecting "Open Command Window Here".
  3. Run the command "keytool -genkey -v -keystore C:\Temp\my-release-key.keystore -alias MyAppName -keyalg RSA -keysize 2048 -validity 10000". Modify these parameters for your situation.
  4. Enter a password for the keystore when prompted. The password has to be at least 6  characters.
  5. Enter your information for each question it asks you.
  6. Screenshots of this process are shown below.

Creating a Android keystore for Corona SDK
Creating a Android keystore for Corona SDK

Using the keystore in Corona SDK
Using the keystore in Corona SDK

7 comments:

  1. it shows this error how can i solve this

    ReplyDelete
    Replies
    1. Run your command prompt as administrator, navigate to the right directory and then retry. Should do the trick.
      Thank me later.

      Delete
  2. The 25 alphanumeric code will be look like xxxxx-xxxxx-xxxxx-xxxxx-xxxxx . You can get this code by on the web and separated mode both. You can purchase McAfee thing from mcafee.com/enact or some other untouchable site or any endorsement place. If you purchased your McAfee thing on the web, by then your 25 alphanumeric thing key will be sent to your enrolled email id. If you purchased McAfee from retailer, by then your thing key will be in thing pack box.
    visit:
    mcafee.com/activate

    ReplyDelete

  3. Installed MS Office with the help of the best help team. You may install the complete office 365 package without any complicated work.
    office.com/setup

    ReplyDelete