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


  1. it shows this error how can i solve this

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