Before you install IntelliJ IDEA 12 and proceed to writing your first hello-world Android application, there are a couple of things to check:
- The latest Java SDK is installed;
- The Android SDK is installed;
Paths to both SDKs are requested during the setup of IntelliJ IDEA and must be known anyway before you can successfully compile and deploy a sample application.
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.