You should have already downloaded the Android SDK. Now you need to set up your development environment.
The SDK you've downloaded 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).
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.
Once the tools are installed, the installer offers to start the Android SDK Manager. Start it and continue with the installation guide by clicking the Next link on the right.
Getting started on Mac
Your download package is .zip
.
Unpack it to a safe location on your machine. By default, the SDK files are unpacked
into a directory named android-sdk-mac_x86
.
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.
Now continue with the installation guide by clicking the Next link on the right.
Getting started on Linux
Your download package is a .tgz
.
Unpack it to a safe location on your machine. By default, the SDK files are unpacked
into a directory named android-sdk-linux_x86
.
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.
Now continue with the installation guide by clicking the Next link on the right.
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