home‎ > ‎Android Development Notes‎ > ‎

Installing the Android SDK on the Mac OS X

  1. Download Eclipse Classic 3.5.1 (note that you want the classic version at the bottom of the page)

  2. 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

  3. 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

  4. Use Eclipse to download the Android ADT (an optional Android plugin for Eclipse)
    • Start Eclipse, then select Help > Install New Software
    • In the Available Software dialog, click Add...
    • When the Add Site dialog appears, in the Name field enter "Android Plugin"
    • In the Location field, enter the URL: https://dl-ssl.google.com/android/eclipse/
      Note: If you have trouble, try using "http" instead of "https"
    • Click OK
    • Back in the Available Software view, select the checkbox next to Developer Tools
    • and click Next

  5. 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

  6. Restart Eclipse

  7. Modify your Eclipse preferences to point to the Android SDK directory by selecting Eclipse > Preferences

  8. Select Android from the left panel

  9. 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\)

  10. Click Apply, then OK

If the steps to install the ADT do not work, see the official Installing and Updating the ADT page