- Download Eclipse Classic 3.5.1 (note that you want the classic version at the bottom of the page)
- Download the Android SDK (R04)
- Unzip it into some folder:
e.g. /usr/rcg/android/android-sdk_r04-mac_86\android-sdk-mac_86\
- run the
android tool in the sdk's /tools/ folder
- Set Your Path environment variable
- look in your home directory for
.bash_profile. Create the .bash_profile file if you don't have one.
- Look for the PATH environment variable and add the full path to the tools/ directory to the PATH. If you don't see a line setting the PATH, you can add one:
export PATH=${PATH}:/tools
- Use Eclipse to download the Android ADT (an optional Android plugin for Eclipse)
- When the Install Details dialog appears, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish
- Restart Eclipse
- Modify your Eclipse preferences to point to the Android SDK directory by selecting Eclipse > Preferences
- Select Android from the left panel
- For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory
(e.g. /usr/rcg/android/android-sdk_r04-mac_86\android-sdk-mac_86\)
- Click Apply, then OK
If the steps to install the ADT do not work, see the official Installing and Updating the ADT page |
|