You should have already downloaded the Android SDK Tools. (If you downloaded the ADT Bundle, you should instead read Setting Up the ADT Bundle.)
The SDK Tools package is not the complete SDK environment. It includes only the core SDK tools, which you can use to download the rest of the SDK packages (such as the latest system image).
Getting started on Windows
Your download package is an executable file that starts an installer. The installer checks your machine for required tools, such as the proper Java SE Development Kit (JDK) and installs it if necessary. The installer then saves the Android SDK Tools into a default location (or you can specify the location).
- Double-click the executable (
.exe
file) to start the install. - Make a note of the name and location in which it saves the SDK on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.
- Once the installation completes, the installer offers to start the Android SDK Manager.
If you'll be using Eclipse, do not start the Android SDK Manager,
and instead move on to Installing the Eclipse Plugin.
If you're using a different IDE, start the SDK Manager and read Adding Platforms and Packages.
Getting started on Mac
- Unpack the ZIP file you've downloaded. By default, it's unpacked
into a directory named
android-sdk-mac_x86
. Move it to an appropriate location on your machine, such as a "Development" directory in your home directory.Make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.
- If you're using Eclipse, move on to Installing the Eclipse Plugin. Otherwise, if you're using a different IDE, read Adding Platforms and Packages.
Getting started on Linux
- Unpack the
.tgz
file you've downloaded. By default, the SDK files are unpacked into a directory namedandroid-sdk-linux_x86
. Move it to an appropriate location on your machine, such as a "Development" directory in your home directory.Make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.
- If you're using Eclipse, move on to Installing the Eclipse Plugin. Otherwise, if you're using a different IDE, read Adding Platforms and Packages.
Troubleshooting Ubuntu
- If you need help installing and configuring Java on your development machine, you might find these resources helpful:
- Here are the steps to install Java and Eclipse, prior to installing
the Android SDK and ADT Plugin.
- If you are running a 64-bit distribution on your development
machine, you need to install the
ia32-libs
package usingapt-get:
:apt-get install ia32-libs
- Next, install Java:
apt-get install sun-java6-jdk
- The Ubuntu package manager does not currently offer an Eclipse 3.6 version for download, so we recommend that you download Eclipse from eclipse.org (http://www.eclipse.org/ downloads/). A Java or RCP version of Eclipse is recommended.
- Follow the steps given in previous sections to install the SDK and the ADT plugin.
- If you are running a 64-bit distribution on your development
machine, you need to install the