blob: 57eac1f0320ce5b2ab60cf13ad285c3c034ffd7c [file] [log] [blame]
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001page.title=ADT Plugin for Eclipse
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07002sdk.preview=0
3
4@jd:body
5
6<div id="qv-wrapper">
7<div id="qv">
8
9 <h2>In this document</h2>
10 <ol>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070011 <li><a href="#notes">Revisions</a></li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070012 <li><a href="#installing">Installing the ADT Plugin</a>
13 <ol>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070014 <li><a href="#preparing">Preparing for Installation</a></li>
15 <li><a href="#downloading">Downloading the ADT Plugin</a>
16 <li><a href="#configuring">Configuring the ADT Plugin</a></li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070017 <li><a href="#troubleshooting">Troubleshooting</a></li>
18 </ol>
19 </li>
20 <li><a href="#updating">Updating the ADT Plugin</a></li>
21 <li><a href="#uninstalling">Uninstalling the ADT Plugin</a></li>
22 </ol>
23
24</div>
25</div>
26
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070027<p>Android Development Tools (ADT) is a plugin for the Eclipse IDE
28that is designed to give you a powerful, integrated environment in which
29to build Android applications. </p>
Dirk Doughertybf15ce62009-10-23 19:17:12 -070030
Scott Main13244e52010-01-19 11:12:07 -080031<p>ADT extends the capabilities of Eclipse to let you quickly set up new Android
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070032projects, create an application UI, add components based on the Android
Dirk Doughertybf15ce62009-10-23 19:17:12 -070033Framework API, debug your applications using the Android SDK tools, and even
34export signed (or unsigned) APKs in order to distribute your application.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070035
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070036<p>Developing in Eclipse with ADT is highly recommended and is the fastest way
37to get started. With the guided project setup it provides, as well as tools
38integration, custom XML editors, and debug ouput pane, ADT gives you an
39incredible boost in developing Android applications. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070040
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070041<p>This document provides step-by-step instructions on how to download the ADT
42plugin and install it into your Eclipse development environment. Note that
43before you can install or use ADT, you must have compatible versions of both the
44Eclipse IDE and the Android SDK installed. For details, make sure to read <a
45href="#installing">Installing the ADT Plugin</a>, below. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070046
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070047<p>If you are already using ADT, this document also provides instructions on
48how to update ADT to the latest version or how to uninstall it, if necessary.
49</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070050
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070051<h2 id="notes">Revisions</h2>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070052
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070053<p>The sections below provide notes about successive releases of
54the ADT Plugin, as denoted by revision number. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070055
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070056<script type="text/javascript">
57function toggleDiv(link) {
58 var toggleable = $(link).parent();
59 if (toggleable.hasClass("closed")) {
60 //$(".toggleme", toggleable).slideDown("fast");
61 toggleable.removeClass("closed");
62 toggleable.addClass("open");
63 $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));
64 } else {
65 //$(".toggleme", toggleable).slideUp("fast");
66 toggleable.removeClass("open");
67 toggleable.addClass("closed");
68 $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));
69 }
70 return false;
71}
72</script>
73<style>
74.toggleable {
75padding: .25em 1em;
76}
77.toggleme {
78 padding: 1em 1em 0 2em;
79 line-height:1em;
80}
81.toggleable a {
82 text-decoration:none;
83}
Dirk Dougherty0d1b0812010-04-07 17:05:16 -070084.toggleme a {
85 text-decoration:underline;
86}
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070087.toggleable.closed .toggleme {
88 display:none;
89}
90#jd-content .toggle-img {
91 margin:0;
92}
93</style>
94
Dirk Dougherty0d1b0812010-04-07 17:05:16 -070095<div class="toggleable opened">
96 <a href="#" onclick="return toggleDiv(this)">
97 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
98ADT 0.9.6</a> <em>(March 2010)</em>
99 <div class="toggleme">
100
101<dl>
102<dt>Library projects:</dt>
103<dd>
104<p>The ADT Plugin now supports the use of <em>library projects</em> during
105development, a capability that lets you store shared Android application
106code and resources in a separate development project. You can then reference the
107library project from other Android projects and, at build time, the tools
108compile the shared code and resources as part of the dependent applications.
109More information about this feature is available in the <a
110href="{@docRoot}guide/developing/eclipse-adt.html#libraryProject">Developing
111in Eclipse with ADT</a> document. </p>
112<p>If you are not developing in Eclipse, <a
113href="tools-notes.html">SDK Tools r6</a> provides the equivalent library
114project support through the Ant build system.</p>
115</dd>
116</dl>
117 </div>
118</div>
119
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700120<div class="toggleable closed">
121 <a href="#" onclick="return toggleDiv(this)">
122 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
123ADT 0.9.6</a> <em>(March 2010)</em>
124 <div class="toggleme">
125
126<dl>
127<dt>Dependencies:</dt>
128
129<dd><p>ADT 0.9.6 is designed for use with SDK Tools r5 and later. Before
130updating to ADT 0.9.6, we highly recommend that you use the Android SDK and
131AVD Manager to install SDK Tools r5 into your SDK.</p></dd>
132
133<dt>General Notes:</dt>
134<dd>
135<ul>
136<li>Editing <code>default.properties</code> outside of Eclipse will now
137automatically update the project.</li>
138<li>Loads the SDK content only when a project requires it. This will make
139Eclipse use less resources when the SDK contains many versions of Android.</li>
140<li>Resolves potential deadlock between modal dialogs, when launching ADT the
141first time with the SDK Usage panel.</li>
142<li>Fixes issues with the New Project Wizard when selecting samples.</li>
143</ul>
144</dd>
145<dt>AVD/SDK Manager:</dt>
146<dd>
147<ul>
148<li>Adds support for platform samples components.</li>
149<li>Improves support for dependency between components.</li>
150<li>AVDs now sorted by API level.</li>
151<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
152<li>Prevents deletion of running AVDs.</li>
153</ul>
154</dd>
155<dt>DDMS:</dt>
156<dd>
157<ul>
158<li>DDMS plug-in now contains the Allocation Tracker view.</li>
159<li>New action in the Logcat view: "Go to problem" lets you go directly from an
160exception trace output to the code.</li>
161</ul>
162</dd>
163<dt>Editors:</dt>
164<dd>
165<ul>
166<li>Explode mode in the Visual Layout Editor adds a margin to all layout objects
167so that it's easier to see embedded or empty layouts.</li>
168<li>Outline mode in the Visual Layout Editor draws layout outline to make it
169easier to see layout objects.</li>
170<li>Several fixes in the configuration selector of the Visual Layout
171Editor.</li>
172</ul>
173</dd>
174<dt>Application launching:</dt>
175<dd>
176<ul>
177<li>Applications launched from ADT now behave as if they were clicked from the
178Home screen.</li>
179<li>Fixes issue where add-on with no optional library would not show up as valid
180targets for application launches.</li>
181<li>Resolves possible crash when launching applications.</li>
182</ul>
183</dd>
184</dl>
185 </div>
186</div>
187
188<div class="toggleable closed">
189 <a href="#" onclick="return toggleDiv(this)">
190 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
191ADT 0.9.5</a> <em>(December 2009)</em>
192 <div class="toggleme">
193<dl>
194<dt>Dependencies:</dt>
195
196<dd><p>ADT 0.9.5 requires features provided in SDK Tools r4 or higher. If you install
197ADT 0.9.5, which is highly recommended, you should use the Android SDK and AVD
198Manager to download thye latest SDK Tools into your SDK. For more information,
199see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p>
200</dd>
201
202<dt>General Notes:</dt>
203<dd>
204<ul>
205<li>AVD Launch dialog now shows scale value.</li>
206<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no skin name specified.</li>
207<li>Fixes XML validation issue in on older Java versions.</li>
208<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
209</ul>
210</dd>
211</dl>
212 </div>
213</div>
214
215<div class="toggleable closed">
216 <a href="#" onclick="return toggleDiv(this)">
217 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
218ADT 0.9.4</a> <em>(October 2009)</em>
219 <div class="toggleme">
220<dl>
221<dt>Dependencies:</dt>
222
223<dd><p>ADT 0.9.4 requires features provided in SDK Tools r3 or higher. If you install
224ADT 0.9.4, which is highly recommended, you should use the Android SDK and AVD
225Manager to download the latest SDK Tools into your SDK. For more information,
226see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p>
227</dd>
228
229<dt>Project Creation Wizard:</dt>
230<dd>
231<ul>
232<li>New option to create a project from a sample by choosing it from a list.</li>
233</ul>
234</dd>
235
236<dt>Layout Editor:</dt>
237<dd>
238<ul>
239<li>Improved Configuration selector that lets you see how your layout will
240render on different devices. Default device descriptions include ADP1
241and Google Ion, while SDK add-ons can also provide new descriptions.
242A new UI allows you to create custom descriptions.</li>
243<li>Adds a new clipping toggle, to let you see your full layout even if it's
244bigger than the screen.</li>
245</ul>
246</dd>
247
248<dt>DDMS Integration:</dt>
249<dd>
250<ul>
251<li>Includes the improvements from the standlone DDMS, revision 3.</li>
252<li>Adds an option to open HPROF files into eclipse instead of writing them on
253disk. If a profiler such as MAT (<a href="http://eclipse.org/mat">Memory Analyzer
254Tool</a>) is installed, it'll open the file.</li>
255</ul>
256</dd>
257
258<dt>Android SDK and AVD Manager integration:</dt>
259<dd>
260<ul>
261<li>Includes the improvements from the standalone Android SDK and AVD Manager,
262revision 3.</li>
263</ul>
264</dd>
265</dl>
266 </div>
267</div>
268
269<h2 id="installing">Installing the ADT Plugin</h2>
270
271<p>The sections below provide instructions on how to download and install
272ADT into your Eclipse environment. If you encounter problems, see the <a
273href="#troubleshooting">Troubleshooting</a> section.</p>
274
275<h3 id="preparing">Preparing Your Development Computer</h3>
276
277<p>ADT is a plugin for the Eclipse IDE. Before you can install or use ADT,
278you must have a compatible version of Eclipse installed on your development
279computer. </p>
280
281<ul>
282<li>If Eclipse is already installed on your computer, make sure that it is
283a version that is compatible with ADT and the Android SDK. Check the <a
284href="requirements.html">System Requirements</a> document for
285a list of Eclipse versions that are compatible with the Android SDK.</li>
286<li>If you need to install or update Eclipse, you can download it from this
287location:
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700288
Dirk Dougherty22558d02009-12-10 16:25:06 -0800289<p style="margin-left:2em;"><a href=
290"http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a>
291</p>
292
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700293<p>A Java or RCP version of Eclipse is recommended.</p></li>
294</ul>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700295
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700296<p>Additionally, before you can configure or use ADT, you must install the
297Android SDK starter package, as described in <a
298href="installing.html#Installing">Downloading the SDK Starter Pacskage</a>.
299Specifically, you need to install a compatible version of the Android SDK Tools
300and at least one development platform. To simplify ADT setup, we recommend
301installing the Android SDK prior to installing ADT. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700302
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700303<p>When your Eclipse and Android SDK environments are ready, continue with the
304ADT installation as described in the steps below. </p>
305
306<h3 id="downloading">Downloading the ADT Plugin</h3>
307
308<p>Use Update Manager feature of your Eclipse installation to install the latest
309revision of ADT on your development computer.<p>
310
311<p>Assuming that you have a compatible version of the Eclipse IDE installed, as
312described in <a href="#preparing">Preparing for Installation</a>, above, follow
313these steps to download the ADT plugin and install it in your Eclipse
314environment. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700315
316<table style="font-size:100%">
317<tr><th>Eclipse 3.4 (Ganymede)</th><th>Eclipse 3.5 (Galileo)</th></tr>
318<tr>
319<td width="45%">
320<!-- 3.4 steps -->
321<ol>
322 <li>Start Eclipse, then select <strong>Help</strong> &gt; <strong>Software Updates...</strong>.
323 In the dialog that appears, click the <strong>Available Software</strong> tab. </li>
324 <li>Click <strong>Add Site...</strong> </li>
325 <li>In the Add Site dialog that appears, enter this URL in the "Location" field:
326 <pre style="margin-left:0">https://dl-ssl.google.com/android/eclipse/</pre>
Scott Main13244e52010-01-19 11:12:07 -0800327 <p>Note: If you have trouble acquiring the plugin, try using "http" in the Location URL,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700328 instead of "https" (https is preferred for security reasons).</p>
329 <p>Click <strong>OK</strong>.</p></li>
330 <li>Back in the Available Software view, you should see the plugin listed by the URL,
331 with "Developer Tools" nested within it. Select the checkbox next to
332 Developer Tools and click <strong>Install...</strong></li>
333 <li>On the subsequent Install window, "Android DDMS" and "Android Development Tools"
334 should both be checked. Click <strong>Next</strong>. </li>
335 <li>Read and accept the license agreement, then click <strong>Finish</strong>.</li>
336 <li>Restart Eclipse. </li>
337</ol>
338
339</td>
340<td>
341<!-- 3.5 steps -->
342<ol>
343 <li>Start Eclipse, then select <strong>Help</strong> &gt; <strong>Install
Scott Main13244e52010-01-19 11:12:07 -0800344 New Software</strong>. </li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700345 <li>In the Available Software dialog, click <strong>Add...</strong>.</li>
346 <li>In the Add Site dialog that appears, enter a name for the remote site
347 (for example, "Android Plugin") in the "Name" field.
348 <p>In the "Location" field, enter this URL:</p>
349 <pre>https://dl-ssl.google.com/android/eclipse/</pre>
Scott Main13244e52010-01-19 11:12:07 -0800350 <p>Note: If you have trouble acquiring the plugin, you can try
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700351 using "http" in the URL, instead of "https" (https is preferred for
352 security reasons).</p>
353 <p>Click <strong>OK</strong>.</p>
354 </li>
355 <li>Back in the Available Software view, you should now see "Developer
356 Tools" added to the list. Select the checkbox next to Developer Tools,
357 which will automatically select the nested tools Android DDMS and Android
358 Development Tools.
359 Click <strong>Next</strong>. </li>
360 <li>In the resulting Install Details dialog, the Android DDMS and Android
361 Development Tools features are listed. Click <strong>Next</strong> to
362 read and accept the license agreement and install any dependencies,
363 then click <strong>Finish</strong>. </li>
364 <li>Restart Eclipse. </li>
365
366</ol>
367</td>
368</tr>
369</table>
370
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700371<h3 id="preparing">Configuring the ADT Plugin</h3>
372
373<p>Once you've successfully downnloaded ADT as described above, the next step
374is to modify your ADT preferences in Eclipse to point to the Android SDK directory:</p>
375
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700376<ol>
377 <li>Select <strong>Window</strong> &gt; <strong>Preferences...</strong> to open the Preferences
378 panel (Mac OS X: <strong>Eclipse</strong> &gt; <strong>Preferences</strong>).</li>
379 <li>Select <strong>Android</strong> from the left panel. </li>
380 <li>For the <em>SDK Location</em> in the main panel, click <strong>Browse...</strong> and
381 locate your downloaded SDK directory. </li>
382 <li>Click <strong>Apply</strong>, then <strong>OK</strong>.</li>
383</ol>
384
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700385<p>Done! If you haven't encountered any problems, then the installation is
386complete. Now read <a href="installing.html#components">Adding Platforms and
387Other Components</a> for instructions on how to complete the setup of your
388SDK environment. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700389
390
391<h3 id="troubleshooting">Troubleshooting ADT Installation</h3>
392
393<p> If you are having trouble downloading the ADT plugin after following the
394steps above, here are some suggestions: </p>
395
396<ul>
397 <li>If Eclipse can not find the remote update site containing the ADT plugin,
398try changing the remote site URL to use http, rather than https. That is, set
399the Location for the remote site to:
400<pre>http://dl-ssl.google.com/android/eclipse/</pre></li>
401<li>If you are behind a firewall (such as a corporate firewall), make sure that
402you have properly configured your proxy settings in Eclipse. In Eclipse 3.3/3.4,
403you can configure proxy information from the main Eclipse menu in
404<strong>Window</strong> (on Mac OS X, <strong>Eclipse</strong>) &gt;
405<strong>Preferences</strong> &gt; <strong>General</strong> &gt; <strong>Network
406Connections</strong>.</li>
407</ul>
408
409<p> If you are still unable to use Eclipse to download the ADT plugin as a
410remote update site, you can download the ADT zip file to your local machine and
411manually install it:</p>
412
413<ol>
414 <li>Download the current ADT Plugin zip file from the table below (do not unpack it).
415
416 <table class="download">
417 <tr>
418 <th>Name</th>
419 <th>Package</th>
420 <th>Size</th>
421 <th>MD5 Checksum</th>
422 </tr>
423 <tr>
424 <td>ADT {@adtZipVersion}</td>
425 <td>
426 <a href="http://dl.google.com/android/{@adtZipDownload}">{@adtZipDownload}</a>
427 </td>
428 <td>{@adtZipBytes} bytes</td>
429 <td>{@adtZipChecksum}</td>
430 </tr>
431</table>
432</li>
433
434</li>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700435 <li>Follow steps 1 and 2 in the <a href="#installing">default install
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700436 instructions</a> (above).</li>
437 <li>In the Add Site dialog, click <strong>Archive</strong>.</li>
438 <li>Browse and select the downloaded zip file.</li>
439 <li>In Eclipse 3.5 only, enter a name for the local update site (e.g.,
440 "Android Plugin") in the "Name" field.</li>
441 <li>Click <strong>OK</strong>.
442 <li>Follow the remaining procedures as listed for
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700443 <a href="#installing">default installation</a> above,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700444 starting from step 4.</li>
445</ol>
446
447<p>To update your plugin once you've installed using the zip file, you will have
448to follow these steps again instead of the default update instructions.</p>
449
450<h4>Other install errors</h4>
451
452<p>Note that there are features of ADT that require some optional
453Eclipse components (for example, WST). If you encounter an error when
454installing ADT, your Eclipse installion might not include these components.
455For information about how to quickly add the necessary components to your
456Eclipse installation, see the troubleshooting topic
Dirk Dougherty22558d02009-12-10 16:25:06 -0800457<a href="{@docRoot}resources/faq/troubleshooting.html#installeclipsecomponents">ADT
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700458Installation Error: "requires plug-in org.eclipse.wst.sse.ui"</a>.</p>
459
460<h4>For Linux users</h4>
461<p>If you encounter this error when installing the ADT Plugin for Eclipse:
462<pre>
463An error occurred during provisioning.
464Cannot connect to keystore.
465JKS</pre>
466<p>
467...then your development machine lacks a suitable Java VM. Installing Sun
468Java 6 will resolve this issue and you can then reinstall the ADT
469Plugin.</p>
470
471
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700472<h2 id="updating">Updating the ADT Plugin</h2>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700473
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700474<p>From time to time, a new revision of the ADT Plugin becomes available, with
475new features and bug fixes. Generally, when a new revision of ADT is available,
476you should update to it as soon as convenient. </p>
477
478<p>In some cases, a new revision of ADT will have a dependency on a specific
479revision of the Android SDK Tools. If such dependencies exist, you will need to
480update the SDK Tools component of the SDK after installing the new revision of
481ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as
482described in <a href="adding-components.html">Adding SDK Components</a>.</p>
483
484<p>To learn about new features of each ADT revision and also any dependencies on
485the SDK Tools, see the listings in the <a href="#notes">Revisions</a>
486section. To determine the version currently installed, open the
487Eclipse Installed Software window using <strong>Help</strong>
488&gt; <strong>Software Updates</strong> and refer to the version listed for
489"Android Development Tools".</p>
490
491<p>Follow the steps below to check whether an update is available and, if so,
492to install it. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700493
494<table style="font-size:100%">
495<tr><th>Eclipse 3.4 (Ganymede)</th><th>Eclipse 3.5 (Galileo)</th></tr>
496<tr>
497<td width="50%">
498<!-- 3.4 steps -->
499<ol>
500 <li>Select <strong>Help</strong> &gt; <strong>Software Updates</strong>.</li>
501 <li>Select the <strong>Available Software</strong> tab.</li>
502 <li>Select the checkboxes next to Android DDMS and Android Developer Tools,
503 then click <strong>Update</strong>.</li>
504 <li>In the resulting Available Updates dialog, ensure that both Android DDMS
505 and Android Development Tools are selected, then click
506 <strong>Next</strong>.</li>
507 <li>Read and accept the license agreement and then click <strong>Finish</strong>.
508 This will download and install the latest version of Android DDMS and
509 Android Development Tools.</li>
510 <li>Restart Eclipse.</li>
511</ol>
512</td>
513<td>
514<!-- 3.5 steps -->
515<ol>
516 <li>Select <strong>Help</strong> &gt; <strong>Check for Updates</strong>. </li>
517 <li>In the resulting Available Updates dialog, locate the Android DDMS and
518 Android Development Tools features in the list and ensure that the checkboxes
519 next to them are selected. Click <strong>Next</strong>.
520 <p>If the Available Updates dialog does not list Android DDMS and Android
521 Development tools, make sure that you have set up a remote update site
522 for them, as described in
523 <a href="#installing">Installing the ADT Plugin</a>.
524 </p></li>
525 <li>In the Update Details dialog, click <strong>Next</strong>.</li>
526 <li>Read and accept the license agreement and then click <strong>Finish</strong>.
527 This will download and install the latest version of Android DDMS and
528 Android Development Tools.</li>
529 <li>Restart Eclipse.</li>
530</ol>
531</td>
532</tr>
533</table>
534
535
536<p>If you encounter problems during the update of ADT, you
537can try removing the existing ADT plugin and then performing a fresh
Dirk Dougherty22558d02009-12-10 16:25:06 -0800538installation. To remove the plugin, follow the instructions in <a
539href="#uninstalling">Uninstalling the ADT Plugin</a>, below. To reinstall
540the plugin, follow the instructions in <a
541href="#installing">Installing the ADT Plugin</a>, above.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700542
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700543
544<h2 id="uninstalling">Uninstalling the ADT plugin</h2>
545
546<p><p>If you encounter problems when installing or updating ADT, you
547can try removing the existing ADT plugin and then performing a fresh
548installation. To remove ADT, follow these steps: </p>
549
550<table style="font-size:100%">
551<tr><th>Eclipse 3.4 (Ganymede)</th><th>Eclipse 3.5 (Galileo)</th></tr>
552<tr>
553<td width="50%">
554<!-- 3.4 steps -->
555<ol>
556 <li>Select <strong>Help</strong> &gt; <strong>Software Updates</strong> &gt;
557 <strong>Manage Configuration</strong>. </li>
558 <li>Expand the list in the left panel to reveal the installed tools.</li>
559 <li>Right-click "Android Editors" and click <strong>Uninstall</strong>. Click <strong>OK</strong>
560 to confirm.</li>
561 <li>Restart Eclipse.
562 <p>(Do not uninstall "Android Development Tools".)</p></li>
563</ol>
564</td>
565<td>
566<!-- 3.5 steps -->
567<ol>
568 <li>Select <strong>Help</strong> &gt; <strong>Install New Software</strong>.</li>
569 <li>In the "Details" panel, click the "What is already installed?" link.</li>
570 <li>In the <strong>Eclipse Installation Details</strong> dialog, select "Android DDMS" and "Android Development Tools" and then click <strong>Uninstall</strong>.</li>
571 <li>In the next window, confirm that the ADT features are selected for uninstall and then click <strong>Finish</strong> to uninstall.</li>
572 <li>Restart Eclipse.</li>
573</ol>
574</td>
575</tr>
576</table>
577