Eclipse Adt For Mac



Android offers a custom plugin for the Eclipse IDE, called AndroidDevelopment Tools (ADT). This plugin is designed to give you a powerful, integratedenvironment in which to develop Android apps. It extends the capabilitesof Eclipse to let you quickly set up new Android projects, build an appUI, debug your app, and export signed (or unsigned) app packages (APKs) for distribution.

Download Eclipse IDE. The first step to use Eclipse Android is to obtain Eclipse on your device. In Eclipse, you can configure proxy information from the main Eclipse menu in Window (on Mac OS X, Eclipse) Preferences General Network Connections. If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT zip file to your local machine and manually install it.

If you will be developing in Eclipse with the ADT Plugin, first make sure that you have asuitable version of Eclipseinstalled on your computer as described by the system requirements.

If you need to install Eclipse, you can download it from http://www.eclipse.org/downloads/.We recommend the 'Eclipse Classic' version. Otherwise, you should use a Java orRCP version of Eclipse.

Note: If you prefer to work in a different IDE, you do not need toinstall Eclipse or ADT. Instead, you can directly use the SDK tools to build anddebug your application. So if you're not using Eclipse, continue to the next page by clickingthe Next link on the right.

Download the ADT Plugin

  1. Start Eclipse, then select Help > Install NewSoftware....
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter 'ADT Plugin' for the Name and thefollowing URL for the Location:
  4. Click OK

    Note: If you have trouble acquiring the plugin, try using 'http' in the Location URL,instead of 'https' (https is preferred for security reasons).

  5. In the Available Software dialog, select the checkbox next to Developer Tools and clickNext.
  6. In the next window, you'll see a list of the tools to be downloaded. ClickNext.
  7. Read and accept the license agreements, then click Finish.

    Note: If you get a security warning saying that the authenticity or validity ofthe software can't be established, click OK.

  8. When the installation completes, restart Eclipse.
For

Configure the ADT Plugin

After you've installed ADT and restarted Eclipse, you must specify the location of your Android SDK directory:

  1. Select Window > Preferences... to open the Preferences panel (on Mac OS X, select Eclipse > Preferences).
  2. Select Android from the left panel.
  3. You may see a dialog asking whether you want to send usage statistics to Google. If so,make your choice and click Proceed.

  4. For the SDK Location in the main panel, click Browse... and locate your downloaded Android SDK directory (such as android-sdk-windows).
  5. Click Apply, then OK.

If you haven't encountered any errors, you're done setting up ADT and can continue to the next step of the SDK installation.

Eclipse Adt For Mac

Updating the ADT Plugin

From time to time, a new revision of the ADT Plugin becomes available, withnew features and bug fixes. Generally, when a new revision of ADT is available,you should update to it as soon as convenient.

For

Eclipse Adt For Mac Windows 10

In some cases, a new revision of ADT will have a dependency on a specificrevision of the Android SDK Tools. If such dependencies exist, you will need toupdate the SDK Tools package of the SDK after installing the new revision ofADT. To update the SDK Tools package, use the Android SDK Manager, asdescribed in Exploring the SDK.

To learn about new features of each ADT revision and also any dependencies onthe SDK Tools, see the listings in the Revisionssection. To determine the version currently installed, open theEclipse Installed Software window using Help> Software Updates and refer to the version listed for'Android Development Tools'.

Follow the steps below to check whether an update is available and, if so,to install it.

  1. Select Help > Check for Updates.

    If there are no updates available, a dialog will say so and you're done.

  2. If there are updates available, select Android DDMS, Android Development Tools, and Android Hierarchy Viewer, then click Next.
  3. In the Update Details dialog, click Next.
  4. Read and accept the license agreement and then click Finish. This will download and install the latest version of Android DDMS and Android Development Tools.
  5. Restart Eclipse.

If you encounter problems during the update, remove the existing ADT plugin from Eclipse, thenperform a fresh installation, using the instructions for Installing the ADTPlugin.

For

Troubleshooting

If you are having trouble downloading the ADT plugin after following thesteps above, here are some suggestions:

  • If Eclipse can not find the remote update site containing the ADT plugin,try changing the remote site URL to use http, rather than https. That is, setthe Location for the remote site to:
  • If you are behind a firewall (such as a corporate firewall), make sure thatyou have properly configured your proxy settings in Eclipse. In Eclipse,you can configure proxy information from the main Eclipse menu inWindow (on Mac OS X, Eclipse) >Preferences > General > NetworkConnections.

If you are still unable to use Eclipse to download the ADT plugin as aremote update site, you can download the ADT zip file to your local machine andmanually install it:

  1. Download the current ADT Plugin zip file from the table below (do not unpack it).
    NamePackageSizeMD5 Checksum
    ADT 20.0.0ADT-20.0.0.zip12387628 bytesea0fc934af3b6b89097f0146c7822ed0
  2. Follow steps 1 and 2 in the default install instructions (above).
  3. In the Add Site dialog, click Archive.
  4. Browse and select the downloaded zip file.
  5. Enter a name for the local update site (e.g., 'Android Plugin') in the 'Name' field.
  6. Click OK.
  7. Follow the remaining procedures as listed for default installation above, starting from step 4.

To update your plugin once you've installed using the zip file, you will haveto follow these steps again instead of the default update instructions.

Eclipse Adt For Mac Os

Other install errors

Note that there are features of ADT that require some optionalEclipse packages (for example, WST). If you encounter an error wheninstalling ADT, your Eclipse installion might not include these packages.For information about how to quickly add the necessary packages to yourEclipse installation, see the troubleshooting topicADTInstallation Error: 'requires plug-in org.eclipse.wst.sse.ui'.

For Linux users

If you encounter this error when installing the ADT Plugin for Eclipse:

Eclipse Adt For Mac Download

...then your development machine lacks a suitable Java VM. Installing SunJava 6 will resolve this issue and you can then reinstall the ADTPlugin.