Installing and Updating Android SDK
This guide describes where to obtain and how to install the Google Android SDK and associated packages.
Compatibility and Download
Titanium requires the Android SDK Tools to be installed in order to allow you to develop Android applications. Unless you intend to write applications exclusively for Apple products, you should install this component.
Remember that Oracle JDK is a prerequisite for Android development, and so should be installed first. See Installing Oracle JDK for instructions.
The Android SDK Manager installer may be obtained from the Official Website.
Note that the typical filesystem location of this software can be found in the OS X Software Locations section of these guides.
Installing Android SDK Tools on OS X
Once you have downloaded the Android SDK Tools archive, double-click to extract it.
rename the extracted folder to android-sdk, if you wish to keep it in accordance with the Software Locations section above
drag and drop the folder into the your home directory, to complete the installation
Note that the typical filesystem location of this software can be found in the Windows Software Locations section of these guides.
Installing Android SDK Tools on Windows
Once you have downloaded the Android SDK Tools Installer, double-click to run it.
proceed to the Java SE Development Kit stage and verify that Java SE Development Kit (JDK) version 1.6 has been found
at the Choose Install Location step, verify that the Destination Folder is the same as your Android SDK HOME folder, and correct if not. This path will be required when configuring Titanium Studio
ensure that there is sufficient space for the installation
complete the installation
Refer to the Windows Software Locations section, and add the path of the Android SDK Tools directory to your system's PATH.
Then proceed to the Installing Android Packages with Android SDK Manager section.
Installing Android Packages with Android SDK Manager
The Android SDK Tools package that has been installed contains the Android SDK Manager that is used to install the rest of the Android SDK packages.
Launching the Android SDK Manager differs depending on the platform.
on OS X, launch its executable directly, at ~/android-sdk/tools/android
on Windows, login under your usual user account, right-click the SDK Manager from the Windows Start Menu and select Run as administrator. Enter the Administrator password, if you are prompted for it
In the Android SDK Manager, you will see different versions of the following items listed:
Android SDK Tools (mandatory) - includes the Android SDK Manager and Android Virtual Device Manager (android executable)
Android SDK Platform Tools (mandatory) - includes Android Debug Bridge, (adb executable)
SDK Platform - provides the libraries for building for a specific version of the Android OS that uses the standard Google APIs.
Google APIs by Google Inc - provides the libraries for building for a specific version of Android that uses the enhanced Google APIs (includes maps support).
System Image - For Android API versions 14 and above, the emulator system images are packaged separately from the SDK Platform package. Three versions of the system images are provided – ARM, Intel x86, and MIPS. The ARM system image is supplied by default in earlier SDK Platform packages, and corresponds to the hardware in most phones.
To run an emulator for Android API level 14 or above, you must install one of the corresponding emulator system images. Starting in Titanium Studio Release 3.0, you can choose which system image to launch if you have multiple system images installed for a given API level.
For more information on using the x86 system images, see Installing x86 Emulator Packages.
Set the filter options at the bottom and select the required packages for installation.
Click Install x packages button.
Select Accept All and click Install.
When the download completes, click Yes to restart adb and complete the installation.
Refer to the Titanium Compatibility Matrix for the latest list of required packages.
Installing x86 Emulator Packages
Some versions of the Android API are available with Intel x86 emulators. Look for the "Intel x86 Atom System Image" in the Android SDK Manager.
Starting in Titanium Studio Release 3.0, you can select which system image to launch for a given Android API level.
The x86 emulator may run faster than the standard ARM emulator, but may show minor differences with the ARM emulator. Extra software is required to take advantage of the x86 emulator – see Configuring Virtual Machine Acceleration in the Android Tools documentation.
Updating Android Packages
Important to note!
Every time you update your Android packages, you will need to delete any AVDs that have been replaced by new revisions, otherwise they won’t be used. To do this, use the Android SDK Manager Tools > Manage AVDs menu item to launch the Android Virtual Device Manager.
Unless you have modified any AVD’s hardware configuration, it’s easier to simply clear all existing AVDs altogether. Thus, select each one in turn and click the delete button to do this.
Refer to Titanium Compatibility Matrix for the most up-to-date information about supported versions.