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.
Go to Edit >Project Settings > Player and select the Android tab (fourth from the left). You’ll be presented with the following screen.
Just expand the “Publishing Settings” section and click on the “Create New Keystore” checkbox.
Click on “Browse Keystore” button. You will be presented with the following dialog, asking you to save the Keystore you are creating.
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.
Enter your Keystore’s password, twice.
It’s crucial to keep the passwords entered here in a safe place!
From the “Alias” dropdown, select “Create a new key”.
You’ll be presented with the following window. Fill it up!
Again, keep the passwords safe!
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.
Enter your key’s password. And your good to go!
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.