Monday, December 3, 2012

Getting Started (Part 2): Downloading the Android SDK

This is the second part of the series Getting Started. Previous editions can be found on the following links:

NOW that we've set up Eclipse in our development machines and made sure that it will run because we have installed Java, let's proceed to doing more Android-specific things - like, downloading the Android SDK.

RUNNING ECLIPSE



First of all, let's go ahead and open up our Eclipse installation. As with Part 1 of this series, double-click on eclipse.exe in the Eclipse folder. Once Eclipse has finished booting, you'll be asked to select your workspace - a folder on where to store your project files. Selecting the default is recommended here, as well as ticking on the "Use this as default.." checkbox.


Click on OK, and welcome to Eclipse!


INSTALLING THE ECLIPSE ADT PLUG-IN

Now it's time to get down and actually download the files we'll need for development.

On the menu bar, click on Help > Install New Software..., where a window will pop-up.



 Click on the Add.. button found near the top-right corner. In this succeeding window, put in Eclipse ADT in the Name field, and for the Location field, put in this link:


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



Click on OK.

In this dialog box, check the box beside Developer Tools, then click on Next.

Just click on Next in the next window.

Accept the license agreements, and click on Finish.



After the download is complete, choose to restart Eclipse.



DOWNLOADING THE ANDROID SDK

After you've restarted Eclipse and proceeded to your workbench, you'll notice two new buttons on the icon pane just below the menu bar.


 Clicking on the Android SDK Manager will open a dialog box,


On the first run, SDK Manager will pre-select recommended packages for you to install - simply click on Install n packages... and wait for your download to finish.

Congratulations! You've just installed the Android SDK and are now ready to create Android applications!

On the next part of this series, I will take you through the steps to create a "Hello, Android!" application, as well as a few points while developing for Android in Eclipse.


No comments:

Post a Comment