Adt For Eclipse Mac

Android offers a custom plugin for the Eclipse IDE, called AndroidDevelopment Tools (ADT). This plugin provides a powerful, integratedenvironment in which to develop Android apps. It extends the capabilitiesof 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.

LiveCycle provides the complete source code of the Mobile Workspace app. The source contains all components to build a custom workspace application. 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 need to install Eclipse, you can download it from eclipse.org/mobile.

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.

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.

    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.

    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.

Configure the ADT Plugin

Once Eclipse restarts, you must specify the location of your Android SDK directory:

Adt For Eclipse Mac Download

  1. In the 'Welcome to Android Development' window that appears, select Useexisting SDKs.
  2. Browse and select the location of the Android SDK directory you recentlydownloaded and unpacked.
  3. Click Next.

Your Eclipse IDE is now set up to develop Android apps, but you need to addthe latest SDK platform tools and an Android platform to your environment.To get these packages for your SDK, continue toAdding Platforms and Packages.

Troubleshooting Installation

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 ADT Plugin zip file (do not unpack it):
    PackageSizeMD5 Checksum
    ADT-21.1.0.zip13564671 bytesf1ae183891229784bb9c33bcc9c5ef1e
  2. Start Eclipse, then select Help > Install NewSoftware.
  3. Click Add, in the top-right corner.
  4. In the Add Repository dialog, click Archive.
  5. Select the downloaded ADT-21.1.0.zip file and click OK.
  6. Enter 'ADT Plugin' for the name and click OK.
  7. In the Available Software dialog, select the checkbox next to Developer Tools and clickNext.
  8. In the next window, you'll see a list of the tools to be downloaded. ClickNext.
  9. Read and accept the license agreements, then click Finish.

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

  10. When the installation completes, restart Eclipse.

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.

Other install errors

Adt for eclipse machine

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

Adt For Eclipse Mac Os

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

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

Adt For Eclipse Download

The ADT Bundle provides everything you need to start developing apps, includinga version of the Eclipse IDE with built-in ADT (Android Developer Tools) tostreamline your Android app development.If you haven't already, go download the Android ADT Bundle. (If you downloaded the SDK Tools only, for use with anexisting IDE, you should instead readSetting Up an Existing IDE.)

Install the SDK and Eclipse IDE

  1. Unpack the ZIP file(named adt-bundle-<os_platform>.zip) and save it to an appropriate location,such as a 'Development' directory in your home directory.
  2. Open the adt-bundle-<os_platform>/eclipse/ directory and launcheclipse.

That's it! The IDE is already loaded with the Android Developer Tools plugin andthe SDK is ready to go. To start developing, read Building Your First App.

EclipseAdt for eclipse mac os

Caution: Do not move any of the files or directoriesfrom the adt-bundle-<os_platform> directory. If you move the eclipseor sdk directory, ADT will not be able to locate the SDK and you'llneed to manually update the ADT preferences.

Additional information

As you continue developing apps, you may need to install additional versionsof Android for the emulator and other packages such as the library forGoogle Play In-app Billing. To install more packages, usethe SDK Manager.

Everything you need to develop Android apps is on this web site, including design guidelines,developer training, API reference, and informationabout how you can distribute your app.For additional resources about developing and distributing your app, see theDeveloper Support Resources.