Android Key Creation
Disclaimer: This blog guides you through the creation of a signed key for an Android App.
Create a signing key for Android Apps
In order to create the certificate you will need to be using Windows 10.
Open a Command Prompt as Administrator, and run the command within your Java directory:
keytool -genkey -v -keystore [keystore_name].keystore -alias [alias_name] -keyalg RSA -keysize 2048 -validity 10000
This will generate a keystore file in the file directory of "JAVA_HOME".
While in this process, the Command Tool asks for little information like keystore password, organizational info and key password.
Keystore password and key password are important to be remembered as this will be required while signing the APK package.
Create a link file for use with the singing key
Create a file named 'release-signing.properties' with following lines:
storeFile=<keystore file path> Type=jks keyAlias=<keystore Alias name> keyPassword=<key password> //optional storePassword=<keystore password> //optional
Keep the keystore and properties files ready to be used.