Android Build Setup In Unity

Last Updated : 6 May, 2026

Android build setup prepares Unity to create APK or AAB files for Android devices. You need Android SDK, NDK, and JDK installed.

  • APK: Installable file for Android.
  • AAB: Google Play Store format (recommended).

Step 1: Install Android Build Support

If you didn't install Android support during Unity installation:

  • Method 1: During Unity Hub installation - Check "Android Build Support".
  • Method 2: Unity Hub - Installs - Click three dots - Add Modules - Check "Android Build Support".

Also check:

  • Android SDK & NDK Tools
  • OpenJDK
Install-Android-Build-Support-In-Unity
Install Android Build Support In unity

Step 2: Switch Platform to Android

  • File - Build Settings.
  • Click "Android" in platform list.
  • Click "Switch Platform" button.

Wait for Unity to reimport assets (1-2 minutes).

Switch-Platform-to-Android-In-Unity
Switch Platform to Android In Unity

Step 3: Configure Player Settings

Click "Player Settings" button in Build Settings. Important settings to change:

SettingLocationWhat to set
Company NameGeneralYour name
Product NameGeneralGame name
Package NameOther Settingscom.CompanyName.GameName
VersionOther Settings1.0.0
Default IconIcon1024×1024 PNG
Minimum API LevelOther SettingsAndroid 7.0 (API level 24)
Target API LevelOther SettingsLatest installed

Package Name Explained

Package name is unique identifier for your game. Format:

com.yourcompany.yourgame

Examples:

  • com.nintendo.mario
  • com.tencent.pubgm

Rules: No spaces, lowercase only, unique across all apps.

Step 4: Configure Graphics API

Android uses OpenGL ES or Vulkan.

  • Player Settings - Other Settings
  • Graphics APIs - Remove Vulkan (keep OpenGL ES).
  • Add OpenGL ES 3.0 if not present.

Step 5: Set Resolution and Quality

Player Settings - Resolution and Presentation:

  • Default Orientation: Landscape Left or Portrait.
  • Fullscreen Mode: Fullscreen Window.
  • Supported Aspect Ratios: 16:9, 16:10, 19.5:9.

Step 6: Build APK

  • Add all scenes to Scenes in Build.
  • Click "Build" button.
  • Choose folder and file name (example: MyGame.apk).
  • Wait for build (2-5 minutes).

Installing APK on Phone

Method 1 (USB cable):

  1. Enable Developer Options on phone (Settings - About Phone - Tap Build Number 7 times).
  2. Enable USB Debugging.
  3. Connect phone to PC.
  4. Copy APK to phone - Open with file manager - Install.

Method 2 (Build and Run):

  1. Connect phone via USB.
  2. Enable USB Debugging.
  3. Click "Build and Run" instead of Build.
  4. Unity installs automatically.
Comment
Article Tags:

Explore