Would you like to contribute to the Titanium docs? To get started, sign up for an account on the Appcelerator Wiki and sign our CLA.

Skip to end of metadata
Go to start of metadata
Contents
Related Topics

Overview

The following packages may be useful for advanced Titanium users, but are not necessary to develop with Titanium.

If you want to build the Titanium SDK from source, or to build native Android modules, you should read this section for software requirements.

Python is useful for users who want to build and run Titanium applications from the command line, users building native modules, or users building the Titanium SDK from source.

Python (optional)

Python is required to use Titanium from the command line or compile the SDK from source using SCons. Python is not required to use the Titanium SDK from inside Studio.

Titanium supports the following versions of Python for each respective Operating System:

Operating System

Package Version

Package Architecture Version

Download Location

OS X

2.x.x (currently, 2.7.x)

32bit and 64bit

Installed on OS by default

Windows

2.x.x (currently, 2.7.x)

32bit only

Official Python Website

Ubuntu

2.x.x (currently, 2.7.x)

32bit and 64bit

Default Repositories

Download the installer from the applicable download location above.

See Installing Python for detailed instructions about how to install, including the program location and system environment variables that should be used.

SCons (optional)

SCons (Software Construction tool) is a build tool, similar to the classic make utility. It is used to build the Titanium SDK.

Installing scons is required if you want to build the Titanium SDK from source. It is not required for building, running, or distributing applications using the Titanium SDK.

Icon

Python is a prerequisite for SCons, and should be installed first. See Installing Python for instructions.

Obtain the SCons version listed below for your Operating System:

Operating System

Package Version

Download Location

OS X

Latest Stable

Official Website

Windows

Latest Stable

Official Website

Ubuntu

Latest Stable

Default Repositories

See Installing SCons for detailed instructions about how to install, including the program location and system environment variables that should be used.

Android Native Development Tools (NDK) (optional)

The Android NDK is required to build native modules for Android, or to build the Titanium SDK from source.

The NDK is not required to build, run, or distribute apps using the Titanium SDK.

Titanium supports NDK Revision 12.

Download the appropriate NDK archive from the following site:

See Installing the Android NDK for detailed instructions about how to install, including the program location and system environment variables that should be used.

Eclipse and ADT (optional)

The Eclipse IDE can be used to build and debug Titanium Android modules, and to build and debug the Titanium SDK on Android. You will also need to install the Android Development Tools (ADT) Eclipse plugin.

Eclipse and ADT are not required for building, running, or distributing applications using the Titanium SDK.

If you don't want to use Eclipse, you can build Android modules and the Titanium SDK on the command line using Ant. See Installing Ant for instructions.

Icon

Java is a prerequisite for Eclipse, and should be installed first. See Installing Oracle JDK for instructions.

Obtain the Eclipse version listed below for your Operating System:

Operating System

Package Version

Download Location

OS X

Latest Stable
Eclipse IDE for Java Developers

Official Website

Windows

Latest Stable
Eclipse IDE for Java Developers

Official Website

Ubuntu

Latest Stable
Eclipse IDE for Java Developers

Official Website

See Installing Eclipse and ADT for detailed instructions about how to install, including the program location and system environment variables that should be used.

Ant (optional)

Apache Ant is the standard build tool for Java. It can be used to build Titanium native Android modules and to build the Titanium SDK for Android. It is not required to build Titanium applications for Android.

You can also use Eclipse and ADT to build native Android code, as described in Installing Eclipse and ADT. If you are using Eclipse and ADT, Ant is optional, but you may want to install both (for example, to use Ant for command-line builds and Eclipse and ADT for debugging).

Ant is not required for building, running, or distributing applications using the Titanium SDK.

Icon

Java is a prerequisite for Ant, and should be installed first. See Installing Oracle JDK for instructions.

Obtain the latest stable version of Apache Ant. Ant is supplied as a multi-platform archive. You can choose the archive format that's easiest for you to extract: all archives contain the same files.

Operating System

Package Version

Download Location

OS X

Latest Stable

Official Website

Windows

Latest Stable

Official Website

Ubuntu

Latest Stable

Default Repositories or Official Website

See Installing Ant for detailed instructions about how to install, including the program location and system environment variables that should be used.

  • No labels