Skip to content

Wednesday, 21 August 2013

Installing the Android SDK in MAC OS X

The official Android SDK page has instructions on getting setup but they cover multiple platforms and contain lot of noise. Here is the short list of instructions:
System Requirements: You need an Intel based machine running 10.5.8 or later
  1. Download Eclipse
    Download the latest version of Eclipse Classic fromhttp://eclipse.org/downloads. If you use Eclipse for other things, there are other supported versions.
  2. Install Eclipse
    Move the Eclipse file you downloaded to /Android  (or elsewhere that is convenient for you) and expand it.
  3. Download/Install SDK
    Download the Android SDK from the Android SDK page, move it to /Android and expand it.
  4. Update your PATH environment variable to know about the Android tools
    There are different ways of setting your default PATH variable. I use ~/.bash_login but ~/.bash_profile also works. The Android tools are in the tools directory of the Android SDK. So this is what I added to .bash_login:
    export PATH=$PATH:/Android/android-sdk-mac_x86/tools
  5. Install the Android Development Tools (ADT) Eclipse plugina. Launch Eclipse and select Help -> Install New Software
    b. In the Install/Available Software dialog that appears clickAdd… in the top right hand corner
    c. In the Add Repository dialog that appears enter:
    Name: Android Plugin
    d. After you hit OK, you’ll see Developer Tools appear, check it and click Next >
    e. Click Next > again and then agree to the terms of the license agreement and click Finish
    f. You’ll be warned that some of the software contains unsigned content. Click OK
    g. You’ll be prompted to restart Eclipse. Click Restart Now
    h. After Eclipse restarts, go into Eclipse -> Preferences (⌘,)
    i. Select Android in the left column, click Browse…and navigate to the SDK location on your drive: /Android/android-sdk-mac_x86


    0 comments:

    Post a Comment