Skip to end of metadata
Go to start of metadata

Redirection Notice

Icon

 Before you install IntelliJ IDEA 12 and proceed to writing your first hello-world Android application, there are a few things to check.

1.  Download and install the Java SDK

You can get the latest Java SDK from the Oracle’s web site.

2.  Download and install the Android SDK

You get the Android Development Tools (ADT) bundle from the Google’s web site.

Note that the official download page for Android presents various options for download.

The default ADT bundle for Windows, as well as for other platforms, includes Eclipse and the Android plugin. If you plan to use IntelliJ IDEA as your Android IDE, then you might want to opt for a smaller download and just pick up the Android SDK and platform tools.

Downloading the Android SDK alone

By simply scrolling down the web page in the figure above, you can find specific instructions for getting the Android SDK to use with an existing IDE for a variety of software platforms, as in the figure below.

Once you have successfully downloaded the Android SDK for the platform of choice, you unzip it in a folder or just run the installer, if any. For the Windows platform, you find a convenient installer. As first thing the installer checks if the Java SDK is installed.

Next, you indicate the destination folder of the Android SDK files and proceeds with installation. Take a note of the installation path as IntelliJ IDEA needs to know about it to successfully compile your applications.

3.  Configure Android platforms

Right after the successful completion of the setup wizard, the Android SDK is still not complete. It does contain all basic SDK tools, but it doesn’t contain any platform specific tooling. In brief, it is not fully configured to let you build applications within IntelliJ IDEA or any other IDE.

Using the SDK Manager

As there are quite a few different Android platforms out there (e.g., Android 2.2, Android 3.0, Android 4.0 and so forth). You need to install binaries and tools for each of the platforms you intend to build applications for.

The final step of the Android setup wizard, however, just offers to launch the tool that walks you through the selection of the Android platforms of choice.


Through the SDK Manager you select the Android platforms of choice and the tool downloads all necessary files and samples. The figure below shows the SDK Manager tool in action. You select the platforms you are interested in and click Install packagesto install related packages.


You can launch SDK Manager at any time. However, you need to launch the SDK Manager at least once before you can successfully compile a single Android application.

You can add new platforms at any time by simply launching the SDK Manager from the installation folder. You use the SDK Manager tool also to uninstall one or more Android packages.

4.  Download and install IntelliJ IDEA

Download and install either IntelliJ IDEA Ultimate or IntelliJ IDEA Community Edition. If you’re only interested in Android development you can just download IntelliJ IDEA Community Edition

6 Comments

  1. Anonymous

  2. Anonymous

    great, thx !

  3. Anonymous

    Ok, I'll take you guys seriously when:

    1) all of the links on these pages work properly. Try the "up" button at the top of the page.

    2) You have a tutorial of the quality of the Big Nerd Ranch books (or just hire them).

    One hint: do NOT EVER assume that your reader is familiar with the system. I know programming, but I have never used the Studio program before. I don't know where menu items are, I don't even know what you consider to be a "project". Except for the very basic terminology, don't assume that I know what anything means; especially don't assume that I know what all of the side effects of some action are.

    1. Anonymous

      I think you should consider another profession. Clearly, Programming its not for you.

      1. Anonymous

        I agree.  No one is going to handhold through every single piece of technology.  Maybe they could write your code for you too.  

        I'm sure you could convince them if you were nasty enough and gave them another ultimatum for a product you're being offered for free.  

    2. Anonymous

      I clearly understand your point... but not quite the fact that you have refused to use your reasoning. Every tutorials cannot be perfect. And the sad thing about people like you who complain is that they cant write a tutorial that is this elaborate... They are doing a good job for nothing in return. The moment your money can start paying any of their staff, you can criticize them for all you care.