How to: Android Publishing
Get your game on the Google Play Store
(Tutorial is on Mac but can be applied to Windows)
Play Store app icon on an Android Phone running Nougat 7.1.1 Image Courtesy: GSMarena .com
Android Studio (SDK) - https://developer.android.com/studio/
Installing Android Studio should automatically install Android SDK
Once installed, open up your terminal and enter the following commands to reveal the hidden SDK directory
We found the SDK directory: now drag the folder into any visible directory so that it can be found in Unity
In Unity: Browse for your SDK directory after navigating to
Unity < Preferences < External Tools
If you try to build after this step you'll get the "Unable to list target platforms" error
Unzip the 'tools_r25.2.3' file that we downloaded earlier. Extract it to your SDK directory and overwrite the current 'toos' file with the newly extracted one
We're almost ready to publish! In unity, click
File < Build Settings < Player Settings
In Player Settings, go to "other settings" and fill out the following:
- Package Name: com.Company.Game
- Version: How you organize your game versions (your choice)
- Bundle Version: Starts from 1 and MUST increment each time you publish a new version
Go to "Publishing Settings" in Player Settings and click "Create a new keystore". Enter your password and DONT FORGET IT! You'll need to re-enter this password when you update your app.
Click "Alias" and "Create a new key" Fill in the details shown in the second image. Once you've created the key go back to publishing settings and select your new key (mine is already selected in the left photo).
Finally, click "Build System" and change it to "Internal".
Now you can click "Build" in the build settings menu to get your '.apk file' which is the actual game version that you'll be uploading to your Google Play Console at http://developer.android.com/