Android development blog
Tutorials about Android dev topics

How to install Eclipse and ADT on Mac OS X

In this post i want to give some details on how to install Android Development environment on Mac Mountain Lion.

So let’s start from the beginning, we need:
  1. Download and Install JDK
  2. Download and Install Eclipse
  3. Download and Install Android SDK
  4. Download and Install Eclipse Android plugin
  5. Configure Eclipse to use JDK and Android SDK

Download and install JDK

The first step is install JDK if you don’t have it already on your Mac. Open your browser and go to Apple Developer and sign in using your developer account. Once you are logged in you have a list of tools to download. In my case i selected Java for OS X 2012-05, you can select one that fits to your needs.

mac_os_x_download

When the download is completed, click on the file and you should get something like this:

java_pkg

Now click the icon and the installation process starts. Accept the licence and at the end you will get:

mac_java_installation_ok

This is in italian language but it means the installation process is completed. To check if java is installed correctly open the terminal application and write:

mac_os_java_terminal_command

Now you have your JDK installed and working on your Mac.

Download and install Eclipse

To install Eclipse simply go to Eclipe web site and click on Download and then on Eclipse IDE for Java Developers and select the version 32bit or 64bit. The installation process is very simple, you have just to unzip the file you downloaded and drag it in the Application folder.

Download and install Android SDK

This is also a very simple operation just go to Android web site and click on download SDK. Unzip it and you have:

mac_os_android_sdk

I suggest you to move the android folder in another position. You can create a folder in the root folder called Android and the move the sdk there.

Download and install Android Eclipse plugin

The last step is install Android plugin for eclipse so we have an integrated development environment. Start eclipse from the Application folder and go to Help –> Install new software:

mac_os_x_eclipse_adt_android

In the name add everything you like while in the location you should add

https://dl-ssl.google.com/android/eclipse/

Now click on OK and go on and download the SDK. At the process end you must restart eclipse
mac_os_x_eclipse_adt_android_restart

 Configure Eclipse to use JDK and Android SDK


You have almost done everything, the last step is tell to Eclipse where to find new components. In Eclipse go to Preferences –> Android and tell where to find the SDK you have installed before.

mac_os_x_adt_android_config

As soon as you confirm, Eclipse warns you that you didn’t have any Android platform installed and shows you the available platforms you can download. Select the platforms you want to develop to and wait the download.

mac_os_x_adt_android_sdk_platform_jelly

When finished you’ve done!

Enjoy your new Eclipse ADT environment.

5 comments:

  1. I recently came across your blog and have been reading along..You have got a really useful blog I have been here reading for about an hour.
    http://www.veriqual.com/android-apps/

    ReplyDelete
  2. Nice post.Give it up. Thanks for share this article. For more visit:android development

    ReplyDelete
  3. Nice post.Give it up. Thanks for share this article. For more visit:android development

    ReplyDelete
  4. Nice post.Give it up. Thanks for share this article. For more visit:android development

    ReplyDelete
  5. Thanks sir it is wonderful

    ReplyDelete

Related Posts with Thumbnails