page.title=Setting Up an Existing IDE @jd:body
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).
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).
If you're using a different IDE, start the SDK Manager and read Adding Platforms and Packages.
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.
android-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 are running a 64-bit distribution on your development
machine, you need to install additional packages first. For Ubuntu 13.10 (Saucy Salamander)
and above, install the libncurses5:i386
, libstdc++6:i386
, and
zlib1g:i386
packages using apt-get
:
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
For earlier versions of Ubuntu, install the ia32-libs
package using
apt-get
:
apt-get install ia32-libs
apt-get install sun-java6-jdk