Home arrow Smartphone Development arrow Eclipse Setup for Android Development

Eclipse Setup for Android Development

Have you ever had the urge to develop your own apps for the Android platform? If so, this tutorial will help you begin setting up the foundation to do so. You will need various components before you can begin developing your applications, and we will show you how to install each component step by step, beginning with the Java SE Development Kit and the Eclipse IDE.

TABLE OF CONTENTS:
  1. Eclipse Setup for Android Development
  2. Installing and configuring the Eclipse plugin
By: wubayou
Rating: starstarstarstarstar / 3
April 08, 2011

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

The Eclipse Integrated Development Environment (IDE) is essential for creating your Android apps.  Prior to jumping in and using it, there are some accompanying programs that are necessary.  With that being said, let's start our journey on the road to Android development by downloading and installing some prerequisites first.

Download and install the Java SE Development Kit

The Java SE Development Kit (JDK) allows you to develop Java programs.  You will need to have it installed for the Android SDK to work properly.  Having just the Java Runtime Environment, which lets you run Java applications and applets, is not enough.  So, if you do not already have the JDK installed, do so now.  Visit the following link to install the program:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Click on Download JDK.  You will be taken to a page where you must select the platform for your download.  You can choose between Linux, Solaris, and Windows.  We will use Windows for this installation.  Check the box to agree to the license agreement and click Continue.

On the next page, click on the .exe file to begin the download.  Depending on your browser, you will be asked to either save or run the file.  Since we are using Firefox, we will save the file.  After the file has downloaded, double-click it to begin the installer.

The JDK installation wizard will appear.  Click Next.



The next page will show the separate features that will be downloaded.  Click Next to install them.

The JDK installation will begin.  Give it some time to complete.  Once the installation is complete, a message will appear to saying that the JDK has been successfully installed.  Click Finish.

Download the Android SDK

Now that you have the Java SE Development Kit installed, it is time to get the Android Software Development Kit (SDK).  The Android SDK is essentially a collection of tools and libraries that helps you begin on your quest to create apps for the mobile platform. 

Download the Android SDK by visiting this link: http://developer.android.com/sdk/index.html

Before you begin the download, make sure that you meet the system requirements.  Next, select the proper SDK package for your platform.  There are downloads available for Windows, Mac, and Linux users.  This tutorial will use Windows, and we will download the .zip file.

Click on the .zip link to begin the Android SDK download.  Save the file or run it, depending on the browser you are using.  Make sure to save the zip file in a location that you will remember easily, because you will need to find it soon.

Download Eclipse

The final component to download and install is Eclipse.  Visit this link:

http://www.eclipse.org/downloads/

You will see various Eclipse packages that you can download for Windows, Mac, or Linux.  If you are unsure of which to download, you can compare the different packages to see what they have to offer.  We will download the the Windows version of Eclipse IDE for Java Developers.  Click on the link for the zip file, which will lead you to the download page.  On the download page, click on the large green arrow to begin the download.  Make sure to save the file in a location that is easy to remember.  Once the zip file has downloaded, it is time to begin setting up your files.

File setup

This set of steps is recommended for smoother sailing later on.  The first thing you want to do is to create the following directory folder on your root drive:

C:\Android

Do you remember the locations of the zip files you downloaded for the Android SDK and Eclipse?  Find the two files and extract their contents to the C:\Android directory.  After both of the zip files have extracted to the Android directory, you want to create one more folder:

C:\Android\workspace

This is the folder you want to use as the location for saving all of your Eclipse projects.  You should now have three folders in the Android directory: one for the Android SDK, one for Eclipse, and the workspace folder.



 
 
>>> More Smartphone Development Articles          >>> More By wubayou
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

SMARTPHONE DEVELOPMENT ARTICLES

- Is Facebook Working on a Branded Smartphone?
- Apple iOS 6 Packed With Features
- Finally, Ubuntu OS for Smartphones?
- App Developers Offer Thoughts on Windows Pho...
- App Promo Survey Displays Developer Struggles
- Apptopia Market Helps Developers Recoup Inve...
- Is Fragmentation a Plus for App Developers?
- Juniper Networks: Android App Malware Increa...
- Developer's Losing Interest in Android?
- Android Developers Pushed Towards Google Wal...
- Google Increases Android App Size Limit
- ATandT To Charge App Developers, Android Lac...
- Android Slipping in App War versus Apple
- Apple and Google Battle to Clean Up App Mark...
- iOS Development: Hello World! in Xcode Part 2

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: