Creating an Android Keystore on Unity

I’ve been working a lot with Unity recently. I’ve been pleasantly surprised by it’s UI. Every manipulation feels natural. Little did I know that this particular fondness of mine will come back to bite me!

Hours before releasing Gravity, my first Android game, I couldn’t for the life of me figure out how to create my Android Keystore.

After hours of Googling, and losing my sanity, I finally figured it out.

To prevent others from going crazy right before a release, I created this guide to show how to create your Android Keystore on Unity.

Step 1

Go to Edit >Project Settings > Player and select the Android tab (fourth from the left). You’ll be presented with the following screen.

02 create keystore

Just expand the “Publishing Settings” section and click on the “Create New Keystore” checkbox.

Step 2

Click on “Browse Keystore” button. You will be presented with the following dialog, asking you to save the Keystore you are creating.

03 select keystore save location

The location is up to you, but I always save it at the root of the project’s folder. Also, note that the Keystore is not actually created on your drive at this instant. You just chose the location at this point.

Step 3

Enter your Keystore’s password, twice.

04 enter keystore password

It’s crucial to keep the passwords entered here in a safe place!

Step 4

From the “Alias” dropdown, select “Create a new key”.

05 create key

You’ll be presented with the following window. Fill it up!

06 enter key information

Again, keep the passwords safe!

Step 5

After saving the dialog in Step 4, open the “Alias” dropdown again. This time you’ll see a new option. That’s what we want.

07 select key

Step 6

Enter your key’s password. And your good to go!

08 enter key password

You may now build your Android APK by going in File > Build Settings.

If this post helped you, please check out Gravity and let me know what you think! I’d love to get some feedback on this one.

2 thoughts on “Creating an Android Keystore on Unity”

Leave a Reply

Your email address will not be published. Required fields are marked *

captcha

Please enter the CAPTCHA text