Building A Simple Android App For Beginners : Android Application Signing
e. compile the application and it will create .apk files in release folder as shown below

2. Creating Private Keystore
Keystore are security certificates required to distribute application. These can be created using Keytool that comes with java SDK.
Run the command prompt as administrator then change the path to the directory in which Keytool.exe is present (If you don't know the exact path search for Keytool.exe in Program Files) usually path is C:\Program Files\Java\jre6\bin
Then type following command:
keytool -genkey -v -keystore <filename>.keystore -alias <key-name> -keyalg RSA -keysize 2048 -validity 10000
Replace the "filename" with a name you want your key to have and <key-name> with alias for your keystore
the tool will then ask you password and other details after which key will be generated a screen shot given below shows the process to generate "my-key" with alias "helloworld"