Android SDK Installation Guide

Here’s a quick start installation guide to get you up and running with the Google Android Software Development Kit (SDK). This guide will describe how to install the Android SDK and set up your chosen development environments. If you’ haven’t already done so you can download the Android SDK from the link below, then we can get started.

First you’ll need to download the Android SDK source files:
( http://code.google.com/android/download.html )

System Requirements

In order to first use the Android SDK code and tools for development you will of course need a suitable environment develop from.

Currently the following operating systems are supported:

  • Windows XP or Vista
  • Mac OS X 10.4.8 or later (x86 only)
  • Linux (tested on Linux Ubuntu Dapper Drake)

You will also need to install a suitable development environment such as:

Installing The Android SDK

First you will need to download the Android SDK pack .zip archive, once downloaded find a suitable installation location on your machine and extract the zipped files.

Please note: This installation location will be referred to as $SDK_ROOT from now on through this tutorial

Alternatively you can add /tools to your root path which will prevent the need to specify the full path to the tools directory along with enabling you to run Android Debug Bridge (adb) along with other command line tools.

To add /tools:

Linux

  1. Edit the ~/.bash_profile or ~/.bashrc files looking for a line that sets the PATH variable.
  2. Add the full path location to your $SDK_ROOT/tools location for the PATH variable.
  3. If no PATH line exists you can add the line by typing the following:
  4. export PATH=${PATH}:<path to your $SDK_ROOT/tools>

Mac OS X

  1. In the home directory locate the .bash_profile and locating the PATH variable add the location to your $SDK_ROOT/tools folder.

Windows XP / Vista

  1. Right click on the My Computer icon and select the properties tab.
  2. Select the Advanced tab and click the Environment Variables button.
  3. In the new dialog box dowble-click on Path (located under System Variables) and type in the full path location to the tools directory.

The Android SDK also requires a suitable development environment to work in, here’s the installation guides for each of the supported environments.

Android Eclipse Plugin (ADT)

If you choose to use the Eclipse IDE as your Android development environment you will have the opportunity to install and run a plug-in called Android Development Tools. ADT comes with a variety of powerful tools and extensions that will make creating, running and debugging your Android applications much easier and faster.

In order to download and install ADT you will first need to configure an Eclipse remote update, this can achieved via the following steps:

  1. Start Eclipse, then select Help > Software Updates > Find and Install….
  2. In the dialog that appears, select Search for new features to install and press Next.
  3. Press New Remote Site.
  4. In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL: https://dl-ssl.google.com/android/eclipse/.
  5. Press OK.
  6. You should now see the new site added to the search list (and checked).
  7. Press Finish.
  8. In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Eclipse Integration > Android Development Tools and press Next.
  9. Read the license agreement and then select Accept terms of the license agreement, if appropriate.
  10. Press Next.
  11. Press Finish.
  12. The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.
  13. Restart Eclipse.
  14. After restart, update your Eclipse preferences to point to the SDK root directory ($SDK_ROOT):
    Select Window > Preferences… to open the Preferences panel. (Mac OS X: Eclipse > Preferences)
    Select Android from the left panel.
    For the SDK Location in the main panel, press Browse... and find the SDK root directory.
  15. Press Apply, then OK

Updating the ADT Plugin

To update the ADT plugin to the latest version, follow these steps:

  1. Select Help > Software Updates > Find and Install….
  2. Select Search for updates of the currently installed features and press Finish.
  3. If any update for ADT is available, select and install.

Alternatively:

  1. Select Help > Software Updates > Manage Configuration.
  2. Navigate down the tree and select Android Development Tools <version>
  3. Select Scan for Updates under Available Tasks.

How-To Use Eclipse To Develop Android Applications

In order to begin development on your Android applications you will first need to create a new Android project and then configure a launch configuration. Once completed you will have the capability to write, run and debug your Android creations.

The following sections below will provide you with the necessary instructions to get you up and running with Android provided you have installed the ADT plugin (as previously mentioned) in your Eclipse environment.

Creating A New Android Project

The Android Development Tools plugins kindly provides a Wizard for setting up new Projects which will allow us to create new Eclipse projects relatively quickly for either new or existing code.

Select File > New > Project

  1. Select Android > Android Project, and press Next
  2. Select the contents for the project:
  • Select Create new project in workspace to start a project for new code. Enter the project name, the base package name, the name of a single Activity class to create as a stub .java file, and a name to use for your application.
  • Select Create project from existing source to start a project from existing code. Use this option if you want to build and run any of the sample applications included with the SDK. The sample applications are located in the samples/ directory in the SDK. Browse to the directory containing the existing source code and click OK. If the directory contains a valid Android manifest file, the ADT plugin fills in the package, activity, and application names for you.

Press Finish.

Once completed the ADT plugin will go ahead and create the following files and folders as appropriate for the type of project selected:

  • src/ A folder that includes your stub .java Activity file.
  • res/ A folder for your resources.
  • AndroidManifest.xml The manifest for your project.

Creating A Launch Configuration For Eclipse

In order to be able to run and debug your own Eclipse applications you must first create a launch configuration. Simply, a launch config is used to specify which project to launch, which activity to start and the specific emulation options to use.

To create a launch configuration for the application, please see the following steps:
1. Select Run > Open Run Dialog… or Run > Open Debug Dialog… as appropriate.
2. In the project type list on the left, right-click Android Application and select New.
3. Enter a name for your configuration.
4. On the Android tab, browse for the project and Activity to start.
5. On the Emulator tab, set the desired screen and network properties, as well as any other emulator startup options.
6. You can set additional options on the Common tab as desired.
7. Press Apply to save the launch configuration, or press Run or Debug (as appropriate).

Running and Debugging an Eclipse Application

Once both steps 1 and 2 have been completed and your project and launch configs are up and running you will now be able to run or debug your application.

From the Eclipse main menu, select Run > Run or Run > Debug as appropriate. This command will run or debug the most recently selected application.

To set or change the active launch configuration, use the Run configuration manager, which you can access through Run > Open Run Dialog… or Run > Open Debug Dialog….

Running or debugging the application will trigger the following actions:

  • Starts the emulator, if it is not already running.
  • Compile the project, if there have been changes since the last build, and installs the application on the emulator.
  • Run starts the application.
  • Debug starts the application in “Wait for debugger” mode, then opens the Debug perspective and attaches the Eclipse Java debugger to the application.

Developing Android Applications with Other IDEs and Tools

Although it is recommended you use Eclipse with the Android plugin to develop your applications, the SDK also provides tools which will enable you to develop with other IDE’s including intelliJ (alternatively you could just use Eclipse without the plugin).

Creating an Android Project

Bundled with the Android SDK is a program called activityCreatory. activityCreator will generate a number of ‘stub’ files for your chosen project alongside a build file. This can be used to either create an Android project for new code or from existing code.

For Linux and Mac users the Android SDK provides a Python script called activityCreator.py, with Windows users receiving a btach script called activityCreator.bat. The program is used in the same way regardless of operating system.

In order to run activityCreator and create an Android project, follow these steps:

  1. In the command line, change to the tools/ directory of the SDK and create a new directory for your project files. If you are creating a project from existing code, change to the root folder of your application instead.
  2. Run activityCreator. In the command, you must specify a fully-qualified class name as an argument. If you are creating a project for new code, the class represents the name of a stub class that the script will create. If you are creating a project from existing code, you must specify the name of one Activity class in the package. Command options for the script include:

–out <folder> which sets the output directory. By default, the output directory is the current directory. If you created a new directory for your project files, use this option to point to it.

–ide intellij, which generates IntelliJ IDEA project files in the newly created project
Here’s an example:

/android_linux_sdk/tools$ ./activityCreator.py –out myproject your.package.name.ActivityName
package: your.package.name
out_dir: myproject
activity_name: ActivityName
~/android_linux_sdk/tools$

The activityCreator script generates the following files and directories (but will not overwrite existing ones):

  • AndroidManifest.xml The application manifest file, synced to the specified Activity class for the project.
  • build.xml An Ant file that you can use to build/package the application.
  • src/your/package/name/ActivityName.java The Activity class you specified on input.
  • your_activity.iml, your_activity.ipr, your_activity.iws [only with the -ide intelliJ flag] intelliJ project files.
  • res/ A directory to hold resources.
  • src/ The source directory.
  • bin/ The output directory for the build script.

Once complete you will now be able to move your folder wherever you choose for development but you’ll need to bear in mind then you will need to use the adb program in the tools folder in order to send the files to the emulator.

How-To Build An Android Application

Here’s how to use the Ant build.xml file generated by activityCreator to build your application.

  1. If you don’t have it, you can obtain Ant from the Apache Ant home page. Install it and make sure it is on your executable path.
  2. Before calling Ant, you need to declare the JAVA_HOME environment variable to specify the path to where the JDK is installed.Note: When installing JDK on Windows, the default is to install in the “Program Files” directory. This location will cause ant to fail, because of the space. To fix the problem, you can specify the JAVA_HOME variable like this: set JAVA_HOME=c:\Prora~1\Java\. The easiest solution, however, is to install JDK in a non-space directory, for example: c:\java\jdk1.6.0_02.
  3. If you have not done so already, follow the instructions for Creating a New Project above to set up the project.
  4. You can now run the Ant build file by simply typing ant in the same folder as the build.xml file for your project. Each time you change a source file or resource, you should run ant again and it will package up the latest version of the application for you to deploy.

How-To Run An Android Application

In order to run a compiled application you will first need to upload the .apk file to the /data/app/ directory in the emulator using the adb tool:

  1. Start the emulator (run $SDK_HOME/tools/emulator from the command line)
  2. On the emulator, navigate to the home screen (it is best not to have that application running when you reinstall it on the emulator; press the Home key to navigate away from that application).
  3. Run adb install myproject/bin/<appname>.apk to upload the executable. So, for example, to install the Lunar Lander sample, navigate in the command line to $SDK_ROOT/sample/LunarLander and type ../../tools/adb install bin/LunarLander.apk
  4. In the emulator, open the list of available applications, and scroll down to select and start your application.

Please Note: When installing an activity for the first time you may need to restart the emulator engine in order for the activity to show up in the application launcher or before any other application can call. This is usually down to the fact that the package manager normally only examines manifests completely on emulator start-up.

How-To Attach a Debugger to Your Application

The following section details how to display debug information directly onto the screen (for example CPU usage). It also shows you how to hook up your IDE to debug running applications on the emulator.

The Eclipse plugin automatically attaches a debugger but you can configure other IDE’s to wait on a debugging port by doing the following:

Start the Dalvik Debug Monitor Server (DDMS) tool , which acts as a port forwarding service between your IDE and the emulator.

  1. Set optional debugging configurations on your emulator, such as blocking application startup for an activity until a debugger is attached. Note that many of these debugging options can be used without DDMS, such as displaying CPU usage or screen refresh rate on the emulator.
  2. Configure your IDE to attach to port 8700 for debugging. We’ve included information higher up on how to set up Eclipse to debug your project.

How-To Configure Your IDE To Attach To The Debugging Port

DDMS will automatically assign a specific debugging port for every virtual machine that it detects on the emulator. You must either attach your IDE to that port, or use a default port 8700 to connect to whatever application is currently selected on the list of discovered virtual machines.

Ideally your IDE will attach to the application running on the emulator, showing its threads and allowing you to suspend them, inspect them, or set breakpoints. If you choose to “Wait for debugger” in the Development settings panel, this will cause the application to run when Eclipse connects therefore you will need to set any breakpoints you want before connecting. If you change the application being debugged or the “Wait for debugger” then the system will kill the selected currently running application.

This can be handy if your application is in a bad state, you can simply go to the settings and toggle the checkbox to kill it.

Debugging Android

Google Android has a fairly extensive set of tools to help you debug your programs:

  • DDMS – A graphical program that supports port forwarding (so you can set up breakpoints in your code in your IDE), screen captures on the emulator, thread and stack information, and many other features. You can also run logcat to retrieve your Log messages. See the linked topic for more information.
  • logcat – Dumps a log of system messages. The messages include a stack trace when the emulator throws an error, as well as Log messages. To run logcat, see the linked topic. …
    I/MemoryDealer( 763): MemoryDealer (this=0x54bda0): Creating 2621440 bytes heap at 0x438db000
    I/Logger( 1858): getView() requesting item number 0
    I/Logger( 1858): getView() requesting item number 1
    I/Logger( 1858): getView() requesting item number 2
    D/ActivityManager( 763): Stopping: HistoryRecord{409dbb20 com.google.android.home.AllApps}
  • Android Log- A logging class to print out messages to a log file on the emulator. You can read messages in real time if you run logcat on DDMS (covered next). Add a few logging method calls to your code.
  • To use the Log class, you just call Log.v() (verbose), Log.d() (debug), Log.i() (information), Log.w() (warning) or Log.e (error) depending on the importance you wish to assign the log message.
    Log.i(“MyActivity”, “MyClass.getView() — Requesting item number ” + position) You can use logcat to read these messages

  • Traceview – Android can save a log of method calls and times to a logging file that you can view in a graphical reader called Traceview. See the linked topic for more information.
  • Eclipse plugin – The Eclipse Android plugin incorporates a number of these tools (ADB, DDMS, logcat output, and other functionality). See the linked topic for more information.
  • Debug and Test Device Settings – Android exposes several settings that expose useful information such as CPU usage and frame rate.

Debug and Test Settings on the Device

Android enables you to set a number of options that will make it far easier to test and debug your applications.

To get to the development settings page on the emulator simply go to Dev Tools > Development Settings. This will in turn open up the development settings page with the following options (among others):

  • Debug app Selects the application that will be debugged. You do not need to set this to attach a debugger, but setting this value has two effects:

It will prevent Android from throwing an error if you pause on a breakpoint for a long time while debugging.

It will enable you to select the Wait for Debugger option to pause application startup until your debugger attaches (described next).

  • Wait for debugger Blocks the selected application from loading until a debugger attaches. This way you can set a breakpoint in onCreate(), which is important to debug the startup process of an Activity. When you change this option, any currently running instances of the selected application will be killed. In order to check this box, you must have selected a debug application as described in the previous option. You can do the same thing by adding waitForDebugger() to your code.
  • Immediately destroy activities Tells the system to destroy an activity as soon as it is stopped (as if Android had to reclaim memory). This is very useful for testing the onFreeze(Bundle) / onCreate(android.os.Bundle) code path, which would otherwise be difficult to force. Choosing this option will probably reveal a number of problems in your application due to not saving state.
  • Show screen updates Flashes a momentary pink rectangle on any screen sections that are being redrawn. This is very useful for discovering unnecessary screen drawing.
  • Show CPU usage Displays CPU meters at the top of the screen, showing how much the CPU is being used. The top red bar shows overall CPU usage, and the green bar underneath it shows the CPU time spent in compositing the screen. Note: You cannot turn this feature off once it is on, without restarting the emulator.
  • Show screen FPS Displays the current frame rate. Mostly useful for games to see the overall frame rate they are achieving. Note: You cannot turn this feature off once it is on without restarting the emulator.
  • Show background Displays a background pattern when no activity screens are visible. This typically does not happen, but can happen during debugging.

» See more articles by Chris Moor


  • http://www.ibumble.com Chintan

    Nice write up but it would be a lot better if you separate the installation processes on Mac, Windows and Linux into individual posts.

  • Tmanisaur

    Very good write up and thank you for taking the time to put all the info in one place!

    The Mac, Windows, an Linux info is fine as it is (displayed by development topic, not platform). Absolutely no need to change it.

  • Jakriya

    Very clear. Thank you.

  • http://www.ugurileri.com.tr Ugur Ileri

    Great Tutorial, very detailed. Thank you

  • http://NationalShowTickets.com David

    Thank you, I have been looking for this information all over the web and now I found exactly what I was looking for.
    David

  • Mike

    I keep getting the message “could not find folder” when on step 14 of android eclipse. Any suggestions on what I need to do to fix this problem?

  • Abdullah

    Hi Mike,
    were you able to fix this issue? I am having the same problem

  • Abdullah

    Never mind, got around it…I guess I just wasn’t tabbing it right

  • manos

    Nice work!

  • ross

    what the hell does this mean?

    ” In the home directory locate the .bash_profile and locating the PATH variable add the location to your $SDK_ROOT/tools folder. ”

    “locate and _ locating…” Seems like an important step and I just have no idea what it means. Maybe I’m drinking too much but i can’t figure it out.

  • Al

    This page really needs to be updated to reflect the latest versions of components. XP? Vista? Eclipse 3.2 and 3.3?

    VERY OUT OF DATE!

  • cutiyar

    my mobole is not connect , when i opened DDBMs this messege showned to me

  • cutiyar
  • Smiely Kar

    When I am trying to add plugin to Eclipse (“https://dl-ssl.google.com/android/eclipse/”) … it’s saying “HTTP Proxy Authentication required” How do I solve it ???

  • Jacques

    try http instead of https

  • Jacques

    I have a issue setting the path in the windows/preference in eclipse. Its saying cannot find tools.

    Any suggestions

  • remeshothera

    Very good guided for beginners in android…thanks a lot.Better than the documentation in developer.android site itself.

  • lallan

    download from hwere mamu ???

  • rune

    Could not find folder ‘tools’ – error when trying to select my sdk : (

  • Stephen

    There are a number of posts about not being able to attach the ADT to the Andriod SDK and I don’t see any answers to them. I have the same problem. In step 14 of “Andriod Eclipse Plugin”, I browse to the Andriod SDK directory and I get an error: Could not find folder ‘tools’ inside SDK ‘c:/android-sdk_r08-windows\’.

  • Bambi

    I’m having problems when creating a new Android Project. When I enter a new project name, it says on the top, “An SDK target must be specified.” I don’t know what that is and I can’t seem to find it. I’ve been tinkering with it for a while, but can’t quite seem to find the answer. Can you help me please? I reply via email would be nice.

  • Bambi

    via email which is stitch8o8@yahoo.com or I can wait for a reply here.

  • eli

    Says:
    December 14th, 2010 at 8:36 am
    Could not find folder ‘tools’ – error when trying to select my sdk : (

    I have this same problem anyone know why?

  • eli

    email me or add my msn if u can fix this problem.
    email: Createdguides@gmail.com or BucherEli@gmail.com
    msn: l3g3ndsfreemining@live.com (sry for wierd msn)

  • Amit

    I was also facing ‘Could not find folder ‘tools’’ error. I selected tools instead of the root and then selected the root itself. The problem went away.

  • Azadeh

    I download & install JDK , but when I want to install Android SDK , this error show :
    Java SE Development Kit(JDK) not found.
    –my OS is Vista–
    please help me.

  • Steven

    Here’s the fix for the problem of “An SDK target must be specified” with a blank target list. In eclipse, go to preferences > andriod > Under “SDK Location” fill in the base directory of your SDK installation (without the “tools” folder directory). Then your good.

  • alex

    in the sdk it will not load components from repository, says not compatible.

    So now what do I do?

    tks

  • alex

    Thanks Steven, but have in and not working:
    C:\Program Files\Android\android-sdk-windows
    eclipse is on desktop
    Any other help –appreciate it.

    Here’s the fix for the problem of “An SDK target must be specified” with a blank target list. In eclipse, go to preferences > andriod > Under “SDK Location” fill in the base directory of your SDK installation (without the “tools” folder directory). Then your good.

  • Chris

    I am having the same blank target list problem, and when I try to load the components, it says uncompatable too. How did you fix this to set a target? Thanks

  • Abdul Samad

    i am student of final semester , BSCS, i m developing an android google map based application, for that i need to cofigure emulator proxy, as i work in the university and the university internett uses proxy 172.16.0.4 port 80 for connecting to internet,

    there is adb.exe in tools folder, but it is inside platform-tools folder, wheni run adb shell, then i query select* from system, it says “Not Found”

    how to set the proxy now? plz guide me.

  • Pratik

    I’m having windows-7 Home Basic.

    Can I install the android SDK on my computer??

  • http://vijay-gokarn.com Vijay

    Yes Pratik you can

  • Deepak

    hi guys, i m also having the same problem in step 14, plz give the solution, if anybody resolved it!! Thanks.

  • steve

    Here’s the fix for the problem of “An SDK target must be specified” :
    update Eclipse, in Eclipse, goto help/check for updates and update..

  • Christopher

    i try ouy android app ventor beta now i don’t know who to setup “Please locate the command directory on your computer and enter the full path below”
    need help with this

  • http://www.hgnonline.com Juan

    hey I’m trying to add the android SDK root directory in eclipse but when I click on android (under Window>Preferences) and browse the folder android-sdk-windows, it says “Could not find C:\Program Files (x86)\Android\android-sdk-windows\platform-tools\adb.exe!”

    I go to the android sdk manager and when I try to download the packages it says “Failed to create directory C:\Program Files (x86)\Android\android-sdk-windows\temp”

    What should I do?

  • Enenx
  • Michael Webster

    Start Eclipse and go to menu Windows->Android SDK and AVD Manager. Receive error “Location of SDK has not been setup in the perferences” – But it is there, I go to menu Windows-Peferences and see that it is set up and just click OK. Then the probelm goes away until the next time I start Eclipse. I also noticed that if I just click OK in the error message and immediately try menu Windows-Android SDK and AVD Manager it then works. Any idea of how to get rid of this bug?
    I have installed Eclips IDE for Java Developers on an XP system

  • Bryon

    So I am probably the worst with computers. I need to add the full path location to the tools director for windows when installing the android sdk. What does that exactly mean and where do I find the tools directory?

  • Bryon

    if u can help with my previous post please email me beaufaitb@gmail.com. i would greatly appreciate it

  • manos

    when i want to run a machine writes
    emulator: ERROR: no search paths found in this AVD’s configuration.
    Weird, the AVD’s config.ini file is malformed. Try re-creating it.

  • Herby

    I also cannot install “Android SDK Tools Setup”
    I get msg JDK not found.
    I have 32 bit SE JDK installed, and path set to bin directory.
    Have eclipse installed (prob. not required)
    Running Win XP

  • Herby

    found solution to above… so simple =/
    - Press Back button on the error page
    - Press Next again.
    - OK !!!

  • Michael

    I must be one of the few people who don’t know jack about anything. I couldn’t even get eclipse to start without a java error, but luckily I am someone who can figure things out. I am a big fan of step by step, click by click, path name by path name. The further I get into this, the more I realize there are a lot of assumed steps that are left out. Maybe I am learning more this way, but what a pain.

  • Manjunath

    hi can i install android sdk in windows7…

  • sekar

    thank you for your great tutorial your service is excellent good guidance

  • sanjay

    i had installed all the things necessary for develpoment of android apps….but whenever i start my pc and start eclipse there is no option for android….

  • sanjay

    does i have to download sdk available packages everytime when i want to create android app.

  • Cutiyar

    while going to help >> install new software and i lost internet connection while downloading , after i got internet back and do it again it give this error :
    http://postimage.org/image/39mc5h5w/

    thanks.

  • http://dekagames.com DekaSoft

    > Herby Says:
    > February 26th, 2011 at 7:42 pm
    > found solution to above… so simple =/
    > – Press Back button on the error page
    > – Press Next again.
    > – OK !!!

    Thank you very much!!! I’m lost my mind already about this problem.

  • Whizzy

    need help..
    after installing all things above then start creating virtual device,

    i got this message
    emulator: ERROR: unknown virtual device name: ‘wew’
    emulator: could not find virtual device named ‘wew’

    my ‘wew’ device spesification:
    api level 3, android 1.5
    sdcard.size=128M
    skin.name=HVGA
    skin.path=platforms\android-3\skins\HVGA
    image.sysdir.1=platforms\android-3\images\

  • http://www.gfxguru.net mrityunjay

    if jdk is not found
    and you think in you system jdk is install.
    then do one thing.
    click on java.oracle.com
    and click on back button
    and then next button
    it will work.
    this is the problem or setup file.
    fool software.
    use and enjoy.

  • http://greatxam.wordpress.com greatxam

    No, you don’t have to install the sdk everytime you create an application unless there’s a latest platform and you and to develop an application under it.

  • tahir

    not really easy, too much details, and couldnt fine the main installing file.

  • inthemix

    Guys, i tried installing the required components by using the sdk manager as stated from the android website, but i got this error:

    “Unable to connect to repository http://dl-ssl.google.com/android/eclipse/content.xml

    Then I decided to install those components manually by downloading the adt.10.0.1 file on the android website. then the install part went very well, but still I do not see my development tools on the sdk and avd manager. And whenever I try to update, i get the same error as above. Even on my linux OS, I get the very same error. I m using the universities network {under firewall}.

    Please help me guys.

  • http://androidcafe.in ruchi

    Hey mrityunjay,

    I faced a similar problem. In spite of JDK being installed, i kept getting the message JDk not found. Searched web for the solution and found yours and it worked. I am proceeding with the rest of the installation. Thanks!

  • Samer Samy

    Hey,

    i am new to Android and i will be working on a project in college for developing an application that allows the user to control PowerPoint Presentations remotely.
    so are there any library that can help me with that ?

    another thing, i thought to use Bluetooth to connect to the server PC, but i came to a problem that Android emulator doesn’t support Bluetooth … so is there any solution for this problem too ? can the connection be solved using a wireless network ?

    Thanks a lot

  • PIyush Kumar

    Thank u very much :D

  • Stu

    I am new to developing in android, and just the other day I installed the ADT plugin on eclipse. I got the hello world app working fine and everything, but today when I opened eclipse it’s like i never installed the ADT plugin. Do I have to install it everytime I open eclipse??? If anybody knows the solution that’d be super helpful

  • summit

    hi…
    i want to know that can these applications work on my android cell as well…
    like we need a seperate java sdk for mobiles…

  • hardik

    hii…

    in window > prefrence in left panel i am not find android.
    plz give me a solution of this problem..
    i am facing a problem in 14th step(android eclipse plugin)

  • Just me

    Now I know we have been invaded by aliens.

  • briON

    i downloaded eclipse as a file but how do i use it,when i click it,it just brings it up as a file in the my computer screen. HELP!!!!

  • autumnos

    For those people that cannot have a “An SDK target must be specified” error:

    You need to go into the $SDK_ROOT directory
    and run “SDK Manager.exe” so you can download the
    rest of the sdk.

    This step probably wasn’t needed previously, but it is now. This guide really needs to be updated because of slight changes in procedure like this.

  • autumnos

    sorry that “cannot” was a typo.

  • Abhilash

    After clicking finish the following message is coming

    can any one please help me

    ERROR OCCURRED

    An error occurred while installing the items
    session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null –> [R]org.eclipse.cvs 1.0.400.v201002111343, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
    The artifact file for osgi.bundle,org.eclipse.cvs,1.0.400.v201002111343 was not found.

  • Azza

    Thanks so much,

    This guide got everything I needed installed and lucky for me I got ahead of myself and downloaded all of the sdk, so avoided the “An SDK target must be specified” error. All installed, now I’m ready to learn :D

  • MIkeD

    It is a shameful that the install programs can’t be easier? Why does it have to be so damn difficult….

  • John R

    New to Android development. Downloaded Java SE 7 (jdk-7-windows-i586.exe) and installed. Downloaded Android SDK (installer_r12-windows.exe). can’t get to 1st base. Keep getting error message that “Java SE Development Kit (JDK) not found.” Can anyone offer some assistance? Thanks.

  • Terence Mills

    It must be getting worse on the “JDK not found” error. I have tried the press “Back” button and press “Next” and the error will not go away. Running Windows XP 32 bit. JDK 1.7.0 Variable set in System Properties Advanced. Rebooted. Nothing seems to help.

  • vladi

    “Back” and “Next” solved my “JDK not found” problem.

  • http://felixclick.com Gerardo Cutliff

    If you’re console on the enclose: take your loved earphones, leader drink to a Finest Buy and ask to persist them into a Zune then an iPod and see which one sounds outstrip to you, and which port makes you grinning solon. Then you’ll experience which is rightish for you.

  • Franklin Gelzinis

    There’s a location which is close to my studio however I can’t uncover just about any testimonials on them. Do any of you know anything about them?

  • Chris Parker

    I have an anrdoid development environment set up under Unbuntu 10:10 and I am going to put one on my XP environment.
    Looking at all the problems with “* not found” got me thinking. I know that java etc can have problems with spaces in pathnames, perhaps thats something to try. On unbuntu I purposely did not have spaces in path names and it works for me.

    Just a thought.

    Cheers

    Chris

  • erman

    can someone tell me do i have to install the sdk on a computer which has virtualization. coz my amd turion x2 TL-50 has no virtualization.

  • http://vinayakadjandroid.blogspot.com/ vinayaka

    is their any android emulator available

  • http://webfyn.com Danny

    This will for those who can download with the link. Just go to this link read the instructions about downloading directly and installing it from archive

    http://developer.android.com/sdk/eclipse-adt.html

    • http://www.omsoftech.com

      yahhh, this is realy great working….

  • Ubaid

    hi i download the andriod sdk but when i click on sdk.exe then automatic exit and not running the setup plz help me why is their required the more component for installation process and i use windows 7

  • http://webfyn.com Danny

    Make sure you download (installer_r15-windows.exe)from http://developer.android.com/sdk/index.html and if you are installing it on windows 7, right-click on installer_r15-windows.exe and select run as administrator.

  • Ubaid

    ok i did as u told me but also not working i don’t know what problem …. start and show black screen but automatically then disappear from screen..

  • http://webfyn.com Danny
  • macy

    my kids are getting Google android tablets for Christmas do i need to download android to my computer ?

    • PANKAJ ARORA686

       NO

  • Danny

    The google tablet uses a android operating system. Just like your computer uses windows xp or vista or windows 7.
    You don’t need to download anything unless you want to build your own applications for your google tablet or add/remove picture, music and document files.

    I didn’t quite understand your question, but I hope this helps.

  • Danny

    Are people still having trouble with building android apps with phonegap. Because I’m considering documenting the procedure on a blog in my free time.

    Let me know guys.

  • Fuckyou

    I think the “official” installation guide is well enough. But I would need some help for the official emulators (HTC or Sony Xperia). You can put the XPERIA-X10_r1 folder into the add-ons folder but in the AVD Manager nothing shows up! The description of HTC does not work at all (with Indigo on Windows 7 Pro). So my experience: Android (with Eclipse) sucks! Going back to XCode. Fuck off, Android!

  • MoeZet

    I am ready to play with Android Software

  • Toni

    Damn! Installing this crap is a nightmare!
    This guide is outdated or something because it’s almost nothing of what it’s said here.

    • harry pagal

       3 cheers to toni
      (^_^)/
        õ/
      i agree..
      (-_-’)  (sweating)

      • harry pagal

         yaahooo…i m so gr8
        i m rock star.. /m

  • http://kiranatama.com/services/android-development Agus H @ Android Developer

    Thank you for making a review about Android SDK Installation Guide.. I’ve looked in recent weeks and the end I found it on your blog

  • Bhuvan Janu

    is this not work in windows 7

    • DJ03

      yes Bhuvan Janu it does work on windows 7 because windows 7 is just XP,Vista together with some extra stuff thats all windows 7 is :)

  • Gopalakrishna1208

    very nic.

  • Tech Rahul4

    awesome.. thanks for sharing wonderful infomation about installing.

  • Santosh Khot

    Hi, I am using HCL ME XITE 2025 series window 7 64 bit laptop, can someone help me to get Android installed on my Laptop

  • Yashraj6789

    hwy so is this incompatible with windows 7 ultimate??

  • Devdevc

    cause of bad intenet download process stops when using eclipse
    or manager , can i build using command prompt or something like
    or download package===plugin using download manager and install it ?

  • pritam dey

    it is really good operating system better then nokia symbian.always i supported it.

  • Gautham

    This is why u guys have to learn iOS development. Buy a Mac , install Xcode and you are good to go ! Just Kidding Android is also FUN!

  • jesika riyanselina

    thx for it. . .

  • karan chauhan

    android download windows vista

  • FRDGski

    This is a GOOD OVERVIEW but a detailed tutorial would include the Android Version (4.0 Icecream SandwichAPInn) to start with as well as the plethora of programming languages used therein and the JAVA programsprogramming to in order to use Eclipse as the debugger. There’s a lot of trial and error and very little is self-explanatory. Thanks to Chris for his effort and good luck to all!

  • Mohamed Emad

    It supported Windows 7 X64 ??

  • http://www.facebook.com/people/Jayson-Osmars/691385499 Jayson Osmars

    Still says missing JRE environment. They make it require jump through fucking hoops just to develop for this shit. Windows at least has their friggin development environment act together, same with Blackberry. This is fucking retarded.

    Not the guides fault just overall frustration with Android environment overall.

  • Htet Myet

    After installing Java SE development kit, you all should know the path of JDK, then set path in environment variable at system variable. First select path, then click on edit then, add c:program filesJavajdk(version)bin for 64 bit and c:program files (x86)javajdk(version)bin for 32 bit. In case, you need to copy c:windowssystem32java.exe to c:windowssyswow64 for 64 bit. This is specially for win 7. you all will be ok who has error installing Android SDK.

  • http://iulianonofrei.com/ Onofrei Iulian

    The adb tool has moved to platform-tools