5
readers helped!

This helped me

How to Install Eclipse and Setup ADT

The Android market is booming, and anyone can create the next big app. All it takes is a good idea and some free development tools. Installing the tools is a fairly straightforward process. In just a few minutes you can be working on your new project. See Step 1 below to get started.

Part 1
Part 1 of 2:

Installing Eclipse

  1. Eclipse and ADT are built on the Java platform, so in order to run them you will need the latest version of the Java Development Kit (JDK). The JDK is available for free from the Oracle website. Make sure to download the version appropriate for your operating system.
    • If you don’t have a Java Runtime Environment (JRE) installed, Eclipse will fail to open.
  2. Before you can install your Android-specific tools, you will need to download the Eclipse IDE, which is what the Android tools are built on top of. Eclipse is available for free from the Eclipse Foundation.
    • For most Android developers, Eclipse Standard package will contain everything you need.
  3. Eclipse will be downloaded as a ZIP file. Simply extract the ZIP file into a folder of your choosing, such as C:\. The ZIP file contains a subdirectory called “eclipse”, so extracting the file into the C:\ drive will result in the folder “C:\eclipse”.
    • Many users report issues with using Windows’ built-in unzipping program. When extracting the file, use an alternative program such as 7-Zip or Winzip.
  4. Since Eclipse isn’t “installed” in the traditional sense, you might want to create a shortcut to it so that you can quickly access the program from your desktop. This will also allow to easily specify the Java Virtual Machine (JVM) that you will be working with.[1]
    • Right-click on eclipse.exe and select Send To. Click “Desktop (create shortcut)”. This will create a new shortcut on your desktop that will point to the eclipse.exe file.
  5. If you have multiple JVMs installed on your computer, you can set Eclipse to always use a specific one. This can prevent errors from occurring if your machine switches default JVMs through other programs.
    • To specify your installation of the JDK, add the following line to your Eclipse shortcut, replacing the path with the location of your javaw.exe file:
      -vm C:\path\to\javaw.exe[2]
    Advertisement
Part 2
Part 2 of 2:

Installing the ADT Plugin

  1. This is available for free from the Android website. Select the “Use an Existing IDE” option to download just the SDK. You can download an ADT bundle that includes Eclipse and comes preconfigured, but this method ensures that you have the latest version of Eclipse.
    • After installing the SDK, the SDK Manager should open automatically. Leave it open for the next step.
  2. Before you can begin using the SDK for development, you will need to add the packages you want to use to your Android SDK. In the SDK Manager, you should see a list of all the available packages for download. For basic development, be sure to grab the following:
    • The most recent Tools package in the Tools folder.
    • The most recent version of Android (This is the first Android folder in the list).
    • The Android Support Library, which can be found in the Extras Folder.
    • Click Install when finished. The files will be downloaded and installed.
  3. You will be installing ADT from within the Eclipse program. If Eclipse won’t start, ensure that you have specified your JVM (see previous section).
  4. The ADT plugin will need to be downloaded within the Eclipse program directly from the Android developers’ repository. You can quickly add that repository to your Eclipse installation.
    • Click Help. Select Install New Software. This will open the Available Software screen, with a list of your available software from the repository you have selected.
  5. This is located to the right of the “Work with” field. Clicking this button will open the “Add Repository” dialog box. Here you will enter the information to download the ADT plugin.
    • In the “Name” field, enter “ADT Plugin”
    • In the “Location” field, enter “https://dl-ssl.google.com/android/eclipse/”
    • Click OK.
    • Check the “Developer Tools” box. Click Next to display the list of tools that will be downloaded. Click Next again to open the license agreements. Read them and then click Finish.
    • You may get a warning that the validity of the software cannot be established. It is OK to ignore this warning.
  6. Once the tools have finished downloading and installing, restart Eclipse to complete the installation. Upon restarting, you will be greeted with the “Welcome to Android Development” window.
  7. IN the Welcome screen, click “Use existing SDKs” and then browse for the directory of the SDK you installed at the beginning of this section. Once you click OK, your basic ADT installation is complete.[3]
    Advertisement


Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit

Advertisement

You Might Also Like

Add a New Post in WordPressAdd a New Post in WordPress
Lock the Gallery on Samsung GalaxyLock the Gallery on Samsung Galaxy
Advertisement
Store and Read Documents on an iPhoneStore and Read Documents on an iPhone
Tell Who Has Viewed Your Instagram Story on AndroidTell Who Has Viewed Your Instagram Story on Android
Bump a Post on FacebookBump a Post on Facebook
Install Adobe Creative Suite 5Install Adobe Creative Suite 5
Download Images from Google on PC or MacDownload Images from Google on PC or Mac
Get More Effects on Tik Tok3 Ways to Get More Effects on TikTok
Use Samsung PayUse Samsung Pay
Download a Torrent With AndroidDownload a Torrent With Android
Use PayPal to Transfer MoneyUse PayPal to Transfer Money
Use Utorrent on an AndroidUse Utorrent on an Android
Turn Off Notifications on PC or MacTurn Off Notifications on PC or Mac
Set the Clock on iHomeSet the Clock on iHome
Advertisement

About this article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 12 people, some anonymous, worked to edit and improve it over time. This article has been viewed 128,409 times.
How helpful is this?
Co-authors: 12
Updated: February 18, 2023
Views: 128,409
Thanks to all authors for creating a page that has been read 128,409 times.

Is this article up to date?

Advertisement