• What steps need to be performed to install and configure the Android SDK on Window or Linux?
  • What are the requirements for the working environment?

    1 answer 1

    Configuring an installed IDE

    If an IDE is already installed and it is advisable to use it to develop Android applications, installing the Android SDK will require downloading the SDK Tools and then selecting additional packages from the Android SDK for installation (for example, the Android platform and the system image). When using an existing version of Eclipse, you can add an ADT plugin to it.

    Download the archive from the SDK: http://developer.android.com/sdk/index.html#download

    Windows

    Requirements

    • Windows XP (32-bit), Vista (32-bit or 64-bit) or Windows 7 (32-bit or 64-bit)
    • Eclipse IDE 3.6.2 (Helios) or higher, including JDT plugin
    • JDK 6 (JRE is not sufficient)
    • Android Development Tools plugin (recommended)

    Installation

    The downloaded package is an executable file that launches the installation. The installer will check the machine for the necessary tools, such as the proper Java SE Development Kit (JDK), and install it if necessary. The installer will then save the Android SDK Tools to the default folder (or you can specify a location).

    Double-click on the executable exe file to start the installation. Write down the name and location in which it saves the SDK in on the system, so that you can access the SDK directory later when installing the ADT plug-in and using the SDK tools from the command line.

    After the installation is complete, the installer offers to start working with the Android SDK manager. If Eclipse will be used, you do not need to launch the Android SDK manager, instead go to the installation of the Eclipse plugin. If using another IDE, launch the SDK Manager and add the platforms and packages.

    Linux

    Unzip the downloaded .tgz file. By default, the SDK will unpack the files into the folder named Android-SDK-linux_x86. Move it to the right place on your computer, for example, the "tools" folder in your home directory.

    Write down the name and location of the SDK directory on your system, so that you can access the SDK directory later if you create the ADT plugin and use the SDK tools from the command line.

    If Eclipse is used, go on to install the Eclipse plugin. Otherwise, if another IDE is used, read about adding platforms and packages.

    Troubleshooting Ubuntu

    If you need help installing and setting up Java on your computer, these resources can be helpful:

    Steps to install Java and Eclipse, before installing the Android SDK and ADT Plugin.

    If a 64-bit system is installed on a computer, you need to install the ia32 libraries of the package using apt-get:

    apt-get install ia32-libs 

    Next, install Java:

     apt-get install sun-java6-jdk 

    The Ubuntu package manager currently (at the time of writing the translation help) does not offer Eclipse 3.6 for download, so it is recommended to download Eclipse from http://www.eclipse.org/downloads/. Java or RCP version of Eclipse is recommended.


    Setting Up an Existing IDE .

    This is a list of the Creative Commons 2.5 Attribution License.