Unity forge
Android SDK Setup
Manual     Reference     Scripting   
Unity Manual > Getting Started with Android Development > Android SDK Setup

Android SDK Setup

There are some steps you must follow before you can build and run any code on your Android device. This is true regardless of whether you use Unity or write Android applications from scratch.

1. Download the Android SDK

Go to the Android Developer SDK webpage. Download and unpack the latest Android SDK.

2. Installing the Android SDK

Follow the instructions under Installing the SDK, feel free to skip the optional parts relating to Eclipse. In step 4 of Installing the SDK make sure to add at least one Android platform with API level equal to or higher than 8 (Platform 2.2 or greater) and the USB drivers if you're using Windows.

3. Get the device recognized by your system

This can be tricky, especially under Windows based systems where drivers tend to be a problem. Also, your device may come with additional information/specific drivers from the manufacturer.

  • For Windows: If the Android device is automatically recognized by the system you still might need to update the drivers with the ones that came with the Android SDK. This is done through the Windows Device Manager.
    If the device is not recognized automatically use the drivers from the Android SDK, or any specific drivers provided by the manufacturer.
    Additional info can be found here: USB Drivers for Windows
  • For Mac: If you're using Mac no additional drivers are usually required.

If you are unsure whether your device is propperly installed on your system, please read the trouble-shooting page for details.

4. Add the Android SDK path to Unity

The first time you build a project for Android (or if Unity later fails to locate the SDK) you will be asked to point out where you installed the Android SDK. Please point to the root-folder of the Android SDK.

Page last updated: 2010-09-23


Unity3dРекламный блок Unity3d



Установить Adobe Flash плеер
Ruslan Slobodianiuk © unity3dforge.com все права защищены