Hey there. I know a lot of you are looking at publishing to the Google Play Store because of its easy access and affordability. Plus, you get to publish your game to about half of the mobile market.
So, I thought I’d write a quick tutorial so that you can publish your Android game using Unity 5, too.
Publish Your Game to Google Play Store
Publishing your Unity game to the Google Play Store is super easy, and as far as publishing goes, fairly inexpensive. The cost to become a Google Play Developer is $25. That’s it. You pay once, and you’re in. No yearly or monthly fees, no unexpected bills from Google, nothing.
The idea is, that you will publish games, and through in-app purchases or ads, you will make money. They take a percentage of the money you make through their store, and then you receive the money that’s left once you have made at least $100 with your game(s).
It’s also super easy to publish to Google Play, especially if you’re using Unity 5. So today, I will show you how to publish your Android Game to the Google Play Store using a build from Unity 5.
Steps to Publish Your Game to Google Play Store
These steps are assuming that you have already downloaded and installed the Android SDK and Tools, and have made it available through your Unity download. This tutorial is strictly for publishing.
If you need to download and install the Android SDK and Tools, you can find out more, here.
Open Unity. Select a new project.
Name it what you want, I named mine Test.
Click on the 3 dots under location and choose or create a folder where you would like your new Unity project to be saved. Click the Select Folder button.
For me, I make 2D games, so I made sure to select the 2D option and then I clicked the Create Project button to create my project.
Now Unity has opened. For my 2D project, I make sure that the 2D button is pressed under my Scene Panel.
Click File -> Build Settings to bring up your Build Settings options.
By default, you will see PC, Mac, and Linux Standalone selected as your Platform.
Click Android, and then click the Switch Platform button.
Note: If you do not have the Android SDK and tools installed, the Switch Platform button will be grayed out and you will not be able to select it. You will need to download the Android SDK, and as the easiest solution, re-install Unity and make sure that you select Android as one of your platform options.
It may take a minute or two for it to switch platforms.
Click the Player Settings button, which is next to the Switch Platform button. This will pull up the Player Settings tab.
Under Publisher Settings in the Player Settings tab, check the Create New Keystore box.
Note: In order to publish to the Google Play Store, your game will need this key.
A save pop up will appear. Name your key and save it in your game project folder.
Create a Keystore Password and Confirm it in the next box down.
Select Create a new key from the drop-down menu.
A pop up will appear. Fill out all of the information with the Password being the same as the one you just typed in the previous step.
Now, to make a build, you’ll need at least one scene. Go to File -> Save Scene As and it should show you a save popup.
Name it what you want, I named mine scene since this is just a quick tutorial and not a finished project.
Note: When I am working on a project, I keep all of my scenes in a folder inside my Asset folder called scenes. This helps to keep all of my files organized for my sanity. Just a suggestion for your projects.
Now you’ll see your scene listed in your Unity Project tab.
Open your Player Settings again. Click on Other Settings.
Note: Every time you publish a new build to the Google Play Store, you will need to increase the Version and Bundle-Version Code. Don’t worry, if you forget to increase the numbers, the Play Store will give you an error when you try to upload your build and tell you to fix it.
For now, you can leave your Version and Bundle-Version Code to 1, since this will be your first build anyway.
In Bundle Identifier, you will need to type “com.YourCompanyName.GameName”. You can just use your name or whatever you want to call yourself for “YourCompanyName” and the name of your game where “GameName” is.
I would type “com.EimearStudios.Test”. Do not include the “” when typing it in.
Open the Build Settings again. File -> Build Settings, in case you forgot.
Click the Build button. Name your build. I named mine build001.
Note: When creating builds for a project, I name them all the same name and increase the number each time I save a build. This is so I don’t save over a previous build and end up with a corrupted file (it has happened to me before) and it’s also so I can roll back a build if necessary. It also keeps track of how many builds I made to complete a project. Kind of like, how many licks it takes to get to the center of a Tootsie Pop.
Click the Build button. Wait patiently while it builds. Maybe get some hot cocoa as a treat for getting this far.
Open your web browser and go to https://play.google.com/apps/publish. If you have a Google Play Developer Account, log in. If not, it only costs $25 (last I checked), so buy it.
Once you are logged in to your Google Play Developer Account, your screen should look similar to the one above, although I’m guessing you probably won’t have any apps loaded. Let’s fix that.
Click the +Add New Application button.
Your screen should look similar to the one above.
You will need to fill out all options that have a blue * in the Store Listing, Content Rating and Pricing and Distribution.
Note: To move things along, I just wrote “Testing 123” in my descriptions. All you need is the minimum character count to publish. You can always come back later and update the descriptions.
Once you have finished that, you will have green check marks next to the sections mentioned above.
Click the APK option. Your screen should look similar to the one above.
You have three choices to upload your APK Android build. The Production option will publish it to the Play Store for all to see. The Alpha and Beta Options are used for testing the game from the Play Store, however, it will not be displayed in the Play Store to the public. Only people or accounts you add to your testing list will be able to play your Alpha or Beta build.
Select where you want it to be published (Production, Alpha or Beta). Click on the Upload New APK button.
Find where you saved the Android APK build you created in Unity and select it.
In the upper right corner, you should see that Google Play is processing your build. A first build can sometimes take between 24 and 48 hours. Once your first build is approved, your next builds will take as little as 2 hours to update.
Note: If you publish a build to Beta or Alpha, you can always push the build up to Beta or Production without having to upload a new build by selecting the tab in which your build is currently located, scrolling down and then selecting the appropriate button.
So, that’s it. It’s super easy to create and publish to the Google Play Store. Now, go make your game so we can all play it on our phones!
- 12 Steps to Publish Your Android Game
- How to OpenSSL for Unity 5
- Unity at GDC – ARCore 101: Hands-on ARCore Workshop
- High School Game Jam: Oak Hill – Signup Now!
- Houdini for Game Cinematics | Nikolay Skolkov | Houdini HIVE Utrecht