Here's a brief outline of the different tools that you'll need to ensure are finally installed on your system:
First things first, check to see if Java is installed on your Mac by typing the following in a Terminal session:
All things being well you should see the version number being returned. If not, download and install the JDK for Mac OS X before proceeding with the rest of the tutorial.
Ant is a server side component for automating build processes which is required by the Android SDK in order to function. So logically the next step involves checking to see that you have Ant installed on your Mac. Once again, return to the Terminal and type out the following:
If you see a version number being returned then all is good. If you don't, or an error should be thrown, then follow this article to install Ant on your system.
After the previous steps have been satisfied go and download the current version of the Android SDK and install that to a directory on your Mac (this could be within your Documents folder or, if you prefer development related tools and technologies to be located near to your projects, it might make more sense to install this to your Sites folder.)
The next step will then be to ensure the Android Tools is available to your system path so you can execute commands more easily. Open up your Terminal and edit your bash profile with the editor of your choice (I.e. vi, emacs, nano etc) and add the system path as follows being sure to change your-username to your own and also the location to the exact one where your Android SDK is installed):
Now load the new path setting by running the following in the Terminal:
At this stage all the 'fiddly' stuff is completed - all relevant software has been installed and configured so now it's time to launch the Android SDK.
From the Terminal execute the following command:
Now the Android SDK Manager will load and you can start running through the process of downloading, installing and updating the relevant packages for your Android development needs.