Setup Android Development on your
computer in 10 easy steps
@KennedyPJ - Barcamp Vientiane, 2010
➔Basic idea will work on Linux, Mac, or Windows
➔With Eclipse, no Java configuration needed
(Steps 1 to 3 is Android SDK configuration)
Download latest Android SDK for your platform
Unzip Android SDK to a new folder.
On Linux, do this as a user at the command line; this
will ensure proper user permissions to the SDK files.
Run the configuration program -
Go to tools subfolder.
➔ On Linux and Mac run "android" executable
➔ On Windows, run "SDK Setup.exe".
Select "Available Packages" on the left side,
and checkmark to install all SDK versions.
Click "install Selected" to install all SDK versions per
your target platform.
(Steps 4 to 10 is Eclipse configuration for Android)
Download Eclipse with Java support.
Go to http://www.eclipse.org/downloads/
For example, download "Eclipse IDE for Java
Extract the archive as user to ensure proper
permissions. Files will be placed into an an eclipse
Run eclipse executable for the first time.
Create a workspace for
your projects when prompted.
Click help, install new software. Enter this path:
in "work with" field, and then
Select "Developer Tools" checkbox, click next.
Highlight "Android DDMS" and "Android
Development Tools", click next.
Accept terms of license, click finish to install.
(When prompted about unsigned software, click to proceed.)
I recommend a reboot at this stage, as the “Restart
Eclipse” option on Linux may
not release all locks.
Reboot OS, then launch (effectively restarting) Eclipse.
Set any ADT preferences; click Windows | Preferences
(On Mac click Eclipse | Preferences).
Set your preferences.
In particular, click Android hive and make sure the
SDK location points to where you installed the SDK.
Even if path is set, to make "apply" button clickable,
click “browse” button, select Android SDK folder
again, then click "apply" button.
Click OK to complete SDK install.