
Head back to the build settings window and check “Build App Bundle (Google Play)” as shown below:Ĭlick on “Build” in the build settings window. Next, setup and confirm passwords, and an alias, as shown below, before clicking on “Add key”.Ī confirmation window will popup click yes: Let’s create a keystore by clicking on the Keystore dropdown > Create New, and save somewhere for referencing later. You will need a key and password for this. A keystore is a container file for keys used to sign the applications that identifies you as the developer. Scroll down to “Publishing Settings” in the same window and click on “KeyStore Manager”. Google requires the application icon to be 512 x 512 px, so this is what we will upload in the “Default Icon” field, as shown below. You can either add one icon in the “Default Icon” field and it will resize automatically for the rest of the sizes, or you can click on “Icon” below and fill all the sizes for the different Android versions under Adaptive, Round and Legacy. Now you need to add the game icon which will appear on the user’s phone. You won’t be able to change these after you upload the game, so make sure you’re pleased with your name(s). First, write the “Company Name” and “Product Name” as shown below. Let’s return to the Player Settings and finish setting up the application.

Return to the build settings window and click on Switch platform. The default for a Unity game is “PC, Mac & Linux Standalone”, so we need to switch to the Android platform. The game is now locked to a landscape orientation only. Uncheck “Portrait” and “Portrait Upside Down”. Scroll down until you find “Allowed Orientations for Auto Rotation”. Next, click on Player Settings > Resolution and Presentation. Select “Android” as shown in the image below since we want to publish this game on an Android platform: Open the game in Unity, click on File > Build Settings. To fix this issue, we want to adjust the game’s orientation to landscape only. Meaning, if a player were to rotate their phone, the game would automatically rotate and the player wouldn’t be able to play properly as the game screen would be cropped. The “Tap (Frog)” game we developed is currently in landscape mode. Before doing so, let’s prepare your game for publishing.

After setting up your account, you can start adding and publishing your applications to Google Play. You need to have a Google developer account (which requires one-time payment of $25). For this tutorial, we will publish the “Tap (Frog)” game I developed in my previous Unity series, which you can explore here.
