Exporting your Unity project as an APK

Exporting your Unity project as an APK (for Android)

Are you planning to create a Unity game for mobile devices? Wondering how you can export your game and install it as an app on Android? Look no further — here’s a step-by-step guide to exporting your game onto your Android device.

If you’re looking for a way to test your game as you’re making it, check out Unity Remote — it’s an Android app that mirrors Unity Editor’s Game screen when you are in Play Mode. Once you’ve installed it, we have a guide covering how to get Unity Remote working on your devices.

APK files are Android installers

To install your game as an Android app, you need to export it as an APK file, upload it onto your Android device and run the file.

Installing an APK file on Android
How to install an APK file.

Fun fact: APK files are actually just ZIP files named with an .apk extension instead of the traditional .zip. You can change the extension of an APK to .zip and open it like you would open a ZIP file, but you can’t do much with the files inside.

Article continues after the advertisement:

Installing Android Build Support

For Unity to be able to export your game as an APK, you need to install the Android Build Support module on the Unity Editor that you are using to build your project.

Is Android Build Support installed on Unity?
Under the Installs tab of Unity Hub, if you find the circled icon below your editor version, that means that Android Build Support is installed for it.

If the editor version that you are using doesn’t have Android Build Support, you’re going to have to install it by clicking on the dropdown at the top-right corner of the editor version and selecting the Add Modules option.

Add Module in Unity Hub
If Add Modules is missing, that means your Unity version was not installed using Unity Hub. You will have to uninstall that version manually and reinstall it.

This will bring you to a screen with a list of modules available for that version of the Unity Editor. Select all of the modules under the Android Build Support dropdown, then click on the Next button to install them.

Android Build Support modules for Unity Remote
Installing additional modules was a lot harder before Unity Hub came along.

When it’s done, Android Build Support will be active on that version of the Unity Editor.

Setting the Build Platform

With Android Build Support installed, you will be able to switch the build platform of your project to Android. To do so, go to File > Build Settings and select the Android platform. Then, click on the Switch Platform button.

Switch your Build Platform in Unity
If the Switch Platform button is not there, that means your build platform is already set to Android.

Exporting the APK file

Once your platform is switched over to Android, the Switch Platform button should be replaced with a Build button. Click on the Build button, and Unity should prompt you for a location to save your APK file.

Save your APK file and upload it onto your phone. Then, open it on your phone to install it as an app!


If you run into a problem while exporting your APK, feel free to drop a comment describing your problems below. We do respond to comments on this blog, and we will reply to your comment with a list of possible solution(s). If your comment highlights a common issue that is relevant to this post, we will also update the post to mention the problem(s) you encountered, plus the suggested fixes.

Article continues after the advertisement:

Leave a Reply

Your email address will not be published.

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.