Download Android Studio and SDK Tools from http://developer.android.com/sdk/index.html. Follow the instructions located on the web site; in most cases it will be straight-forward, however, the following information may prove useful.
To set up Android Studio on Linux:
unzip android-studio-ide-141.2456560-linux.zip
You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory.
Note: You may want to enable VM acceleration on Linux. Instructions can be found at
[http://developer.android.com/tools/devices/emulator.html#vm-linux](http://developer.android.com/tools/devices/emulator.html#vm-linux).
Note: To support 32-bit apps on a 64-bit machine, you will need to install the ia32-libs, lib32ncurses5-dev, and lib32stdc++6 packages.
sudo apt-get install ia32-libs lib32ncurses5-dev lib32stdc++6
Note: On Ubuntu 14.04 64-bit platform, you may receive the following while running the above command:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate
So do this instead:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Note: You may run into a problem with an IBus compatibility issue on the Ubuntu 14.04 64-bit platform. Information can be found on the Jetbrains bug report, IDEA 78660.
To set up Android Studio on Windows:
On some Windows systems, the launcher script does not find where the JDK is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.
Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21.
The individual tools and other SDK packages used by Android Studio are installed in a separate directory. If you need to access the tools directly, use a terminal to navigate to the location where they are installed. For example:
\Users\<user>\sdk\</user>