Generate Keystore Manually
In this guide we will create a release keystore manually. A release keystore is required to sign your android applications before publishing it to the Google Play Store.
- Mac / Linux
- Windows
In a terminal
copy the following command and press enter
You can replace ~/upload-keystore.jks
from the above command and give a location yourself where you would like to save the file. ( The above path will save the file in the home folder ).
You can also change the alias upload
from the above command to your specific value. Please make sure to remember it as it will be used in the future.
The process will ask for more information which will be specific to your organization. At the end it will ask you to verify the information. Enter yes
and press enter. You will be prompted for a store password, enter a strong password which you will remember. If you are prompted for the alias password, just press enter to use the previous password.
Finally the process will create a upload-keystore.jks
release keystore for you. Use this file to sign your release builds for Android. Make sure to keep this file private
.
In a command prompt
copy the following command and press enter
Replace the USER_NAME
with your actual PC user name. Or you can also change the location completely.
You can replace c:\Users\USER_NAME\upload-keystore.jks
from the above command and give a location yourself where you would like to save the file. ( The above path will save the file in the home folder for the user ).
You can also change the alias upload
from the above command to your specific value. Please make sure to remember it as it will be used in the future.
The process will ask for more information which will be specific to your organization. At the end it will ask you to verify the information. Enter yes
and press enter. You will be prompted for a store password, enter a strong password which you will remember. If you are prompted for the alias password, just press enter to use the previous password.
Finally the process will create a upload-keystore.jks
release keystore for you. Use this file to sign your release builds for Android. Make sure to keep this file private
.
Tip
As you have created your release keystore, you may want to learn to sign your release apk builds with this release keystore. To know more about the same please follow Sign Apk Manually