Before you can submit or even upload your project to the Google Play store, you will need to generate a Keystore.
A keystore is a unique key that will ensure that your project will be linked to your Google Play account and no one else's.
In the following section we will go over how you generate this key as well as where it needs to be placed to ensure that your project will use it when being packaged.
To generate a key you will need to first open up a Command Line prompt window.
With the Command Line prompt window now open, input the following Command Line argument and then press the Enter key.
keytool -genkey -v -keystore ExampleKey.keystore -alias MyKey -keyalg RSA -keysize 2048 -validity 10000
Instead of typing this in by hand you can also copy the above text and then click with the right mouse button to paste what you copied into the Command Line argument window
Now enter a password for your Key Store. Make sure that this is something you will remember as you will have to enter it one more time after this. For this example, we will be using 123password for our Keystore password.
Next you will need to enter a First and Last name into the Command Line window. For this example, input the name TestGuy and then press the Enter key.
Now enter the name of your Organizational Unit. For this example, input the name MyCompany and then press the Enter key to continue.
Then enter the name of your organization. For this example, input MyGame and then press the Enter key to continue.
Now enter the name of the City or Locality you are in. For this example, input MyCity and then press the Enter key to continue.
Then enter the name of the State or Province that city is located. For this example, input NC and then press the Enter key to continue.
Now input the country code where the city and state are located. For this example, input 00 and then press the Enter key to continue.
You will now be asked to verify that all the information that you have entered is correct. Type Yes or Y into the Command Line window and then press the Enter key to continue.
Because we are only storing a single key into this Keystore, all you need to do next is press the Enter key when asked to enter a password.
The last line in the Command Line window should now say, [Storing ExampleKey.keystore] if everything has been setup correctly.
Once the key has been created it will be placed in the following location on your C: drive.