blob: d3e0a109971b16bd7d22ae7a53040955c0a61687 [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}
84.toggleable.closed .toggleme {
85 display:none;
86}
87#jd-content .toggle-img {
88 margin:0;
89}
90</style>
91
92<div class="toggleable closed">
93 <a href="#" onclick="return toggleDiv(this)">
94 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
95ADT 0.9.6</a> <em>(March 2010)</em>
96 <div class="toggleme">
97
98<dl>
99<dt>Dependencies:</dt>
100
101<dd><p>ADT 0.9.6 is designed for use with SDK Tools r5 and later. Before
102updating to ADT 0.9.6, we highly recommend that you use the Android SDK and
103AVD Manager to install SDK Tools r5 into your SDK.</p></dd>
104
105<dt>General Notes:</dt>
106<dd>
107<ul>
108<li>Editing <code>default.properties</code> outside of Eclipse will now
109automatically update the project.</li>
110<li>Loads the SDK content only when a project requires it. This will make
111Eclipse use less resources when the SDK contains many versions of Android.</li>
112<li>Resolves potential deadlock between modal dialogs, when launching ADT the
113first time with the SDK Usage panel.</li>
114<li>Fixes issues with the New Project Wizard when selecting samples.</li>
115</ul>
116</dd>
117<dt>AVD/SDK Manager:</dt>
118<dd>
119<ul>
120<li>Adds support for platform samples components.</li>
121<li>Improves support for dependency between components.</li>
122<li>AVDs now sorted by API level.</li>
123<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
124<li>Prevents deletion of running AVDs.</li>
125</ul>
126</dd>
127<dt>DDMS:</dt>
128<dd>
129<ul>
130<li>DDMS plug-in now contains the Allocation Tracker view.</li>
131<li>New action in the Logcat view: "Go to problem" lets you go directly from an
132exception trace output to the code.</li>
133</ul>
134</dd>
135<dt>Editors:</dt>
136<dd>
137<ul>
138<li>Explode mode in the Visual Layout Editor adds a margin to all layout objects
139so that it's easier to see embedded or empty layouts.</li>
140<li>Outline mode in the Visual Layout Editor draws layout outline to make it
141easier to see layout objects.</li>
142<li>Several fixes in the configuration selector of the Visual Layout
143Editor.</li>
144</ul>
145</dd>
146<dt>Application launching:</dt>
147<dd>
148<ul>
149<li>Applications launched from ADT now behave as if they were clicked from the
150Home screen.</li>
151<li>Fixes issue where add-on with no optional library would not show up as valid
152targets for application launches.</li>
153<li>Resolves possible crash when launching applications.</li>
154</ul>
155</dd>
156</dl>
157 </div>
158</div>
159
160<div class="toggleable closed">
161 <a href="#" onclick="return toggleDiv(this)">
162 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
163ADT 0.9.5</a> <em>(December 2009)</em>
164 <div class="toggleme">
165<dl>
166<dt>Dependencies:</dt>
167
168<dd><p>ADT 0.9.5 requires features provided in SDK Tools r4 or higher. If you install
169ADT 0.9.5, which is highly recommended, you should use the Android SDK and AVD
170Manager to download thye latest SDK Tools into your SDK. For more information,
171see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p>
172</dd>
173
174<dt>General Notes:</dt>
175<dd>
176<ul>
177<li>AVD Launch dialog now shows scale value.</li>
178<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no skin name specified.</li>
179<li>Fixes XML validation issue in on older Java versions.</li>
180<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
181</ul>
182</dd>
183</dl>
184 </div>
185</div>
186
187<div class="toggleable closed">
188 <a href="#" onclick="return toggleDiv(this)">
189 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
190ADT 0.9.4</a> <em>(October 2009)</em>
191 <div class="toggleme">
192<dl>
193<dt>Dependencies:</dt>
194
195<dd><p>ADT 0.9.4 requires features provided in SDK Tools r3 or higher. If you install
196ADT 0.9.4, which is highly recommended, you should use the Android SDK and AVD
197Manager to download the latest SDK Tools into your SDK. For more information,
198see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p>
199</dd>
200
201<dt>Project Creation Wizard:</dt>
202<dd>
203<ul>
204<li>New option to create a project from a sample by choosing it from a list.</li>
205</ul>
206</dd>
207
208<dt>Layout Editor:</dt>
209<dd>
210<ul>
211<li>Improved Configuration selector that lets you see how your layout will
212render on different devices. Default device descriptions include ADP1
213and Google Ion, while SDK add-ons can also provide new descriptions.
214A new UI allows you to create custom descriptions.</li>
215<li>Adds a new clipping toggle, to let you see your full layout even if it's
216bigger than the screen.</li>
217</ul>
218</dd>
219
220<dt>DDMS Integration:</dt>
221<dd>
222<ul>
223<li>Includes the improvements from the standlone DDMS, revision 3.</li>
224<li>Adds an option to open HPROF files into eclipse instead of writing them on
225disk. If a profiler such as MAT (<a href="http://eclipse.org/mat">Memory Analyzer
226Tool</a>) is installed, it'll open the file.</li>
227</ul>
228</dd>
229
230<dt>Android SDK and AVD Manager integration:</dt>
231<dd>
232<ul>
233<li>Includes the improvements from the standalone Android SDK and AVD Manager,
234revision 3.</li>
235</ul>
236</dd>
237</dl>
238 </div>
239</div>
240
241<h2 id="installing">Installing the ADT Plugin</h2>
242
243<p>The sections below provide instructions on how to download and install
244ADT into your Eclipse environment. If you encounter problems, see the <a
245href="#troubleshooting">Troubleshooting</a> section.</p>
246
247<h3 id="preparing">Preparing Your Development Computer</h3>
248
249<p>ADT is a plugin for the Eclipse IDE. Before you can install or use ADT,
250you must have a compatible version of Eclipse installed on your development
251computer. </p>
252
253<ul>
254<li>If Eclipse is already installed on your computer, make sure that it is
255a version that is compatible with ADT and the Android SDK. Check the <a
256href="requirements.html">System Requirements</a> document for
257a list of Eclipse versions that are compatible with the Android SDK.</li>
258<li>If you need to install or update Eclipse, you can download it from this
259location:
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700260
Dirk Dougherty22558d02009-12-10 16:25:06 -0800261<p style="margin-left:2em;"><a href=
262"http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a>
263</p>
264
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700265<p>A Java or RCP version of Eclipse is recommended.</p></li>
266</ul>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700267
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700268<p>Additionally, before you can configure or use ADT, you must install the
269Android SDK starter package, as described in <a
270href="installing.html#Installing">Downloading the SDK Starter Pacskage</a>.
271Specifically, you need to install a compatible version of the Android SDK Tools
272and at least one development platform. To simplify ADT setup, we recommend
273installing the Android SDK prior to installing ADT. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700274
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700275<p>When your Eclipse and Android SDK environments are ready, continue with the
276ADT installation as described in the steps below. </p>
277
278<h3 id="downloading">Downloading the ADT Plugin</h3>
279
280<p>Use Update Manager feature of your Eclipse installation to install the latest
281revision of ADT on your development computer.<p>
282
283<p>Assuming that you have a compatible version of the Eclipse IDE installed, as
284described in <a href="#preparing">Preparing for Installation</a>, above, follow
285these steps to download the ADT plugin and install it in your Eclipse
286environment. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700287
288<table style="font-size:100%">
289<tr><th>Eclipse 3.4 (Ganymede)</th><th>Eclipse 3.5 (Galileo)</th></tr>
290<tr>
291<td width="45%">
292<!-- 3.4 steps -->
293<ol>
294 <li>Start Eclipse, then select <strong>Help</strong> &gt; <strong>Software Updates...</strong>.
295 In the dialog that appears, click the <strong>Available Software</strong> tab. </li>
296 <li>Click <strong>Add Site...</strong> </li>
297 <li>In the Add Site dialog that appears, enter this URL in the "Location" field:
298 <pre style="margin-left:0">https://dl-ssl.google.com/android/eclipse/</pre>
Scott Main13244e52010-01-19 11:12:07 -0800299 <p>Note: If you have trouble acquiring the plugin, try using "http" in the Location URL,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700300 instead of "https" (https is preferred for security reasons).</p>
301 <p>Click <strong>OK</strong>.</p></li>
302 <li>Back in the Available Software view, you should see the plugin listed by the URL,
303 with "Developer Tools" nested within it. Select the checkbox next to
304 Developer Tools and click <strong>Install...</strong></li>
305 <li>On the subsequent Install window, "Android DDMS" and "Android Development Tools"
306 should both be checked. Click <strong>Next</strong>. </li>
307 <li>Read and accept the license agreement, then click <strong>Finish</strong>.</li>
308 <li>Restart Eclipse. </li>
309</ol>
310
311</td>
312<td>
313<!-- 3.5 steps -->
314<ol>
315 <li>Start Eclipse, then select <strong>Help</strong> &gt; <strong>Install
Scott Main13244e52010-01-19 11:12:07 -0800316 New Software</strong>. </li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700317 <li>In the Available Software dialog, click <strong>Add...</strong>.</li>
318 <li>In the Add Site dialog that appears, enter a name for the remote site
319 (for example, "Android Plugin") in the "Name" field.
320 <p>In the "Location" field, enter this URL:</p>
321 <pre>https://dl-ssl.google.com/android/eclipse/</pre>
Scott Main13244e52010-01-19 11:12:07 -0800322 <p>Note: If you have trouble acquiring the plugin, you can try
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700323 using "http" in the URL, instead of "https" (https is preferred for
324 security reasons).</p>
325 <p>Click <strong>OK</strong>.</p>
326 </li>
327 <li>Back in the Available Software view, you should now see "Developer
328 Tools" added to the list. Select the checkbox next to Developer Tools,
329 which will automatically select the nested tools Android DDMS and Android
330 Development Tools.
331 Click <strong>Next</strong>. </li>
332 <li>In the resulting Install Details dialog, the Android DDMS and Android
333 Development Tools features are listed. Click <strong>Next</strong> to
334 read and accept the license agreement and install any dependencies,
335 then click <strong>Finish</strong>. </li>
336 <li>Restart Eclipse. </li>
337
338</ol>
339</td>
340</tr>
341</table>
342
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700343<h3 id="preparing">Configuring the ADT Plugin</h3>
344
345<p>Once you've successfully downnloaded ADT as described above, the next step
346is to modify your ADT preferences in Eclipse to point to the Android SDK directory:</p>
347
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700348<ol>
349 <li>Select <strong>Window</strong> &gt; <strong>Preferences...</strong> to open the Preferences
350 panel (Mac OS X: <strong>Eclipse</strong> &gt; <strong>Preferences</strong>).</li>
351 <li>Select <strong>Android</strong> from the left panel. </li>
352 <li>For the <em>SDK Location</em> in the main panel, click <strong>Browse...</strong> and
353 locate your downloaded SDK directory. </li>
354 <li>Click <strong>Apply</strong>, then <strong>OK</strong>.</li>
355</ol>
356
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700357<p>Done! If you haven't encountered any problems, then the installation is
358complete. Now read <a href="installing.html#components">Adding Platforms and
359Other Components</a> for instructions on how to complete the setup of your
360SDK environment. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700361
362
363<h3 id="troubleshooting">Troubleshooting ADT Installation</h3>
364
365<p> If you are having trouble downloading the ADT plugin after following the
366steps above, here are some suggestions: </p>
367
368<ul>
369 <li>If Eclipse can not find the remote update site containing the ADT plugin,
370try changing the remote site URL to use http, rather than https. That is, set
371the Location for the remote site to:
372<pre>http://dl-ssl.google.com/android/eclipse/</pre></li>
373<li>If you are behind a firewall (such as a corporate firewall), make sure that
374you have properly configured your proxy settings in Eclipse. In Eclipse 3.3/3.4,
375you can configure proxy information from the main Eclipse menu in
376<strong>Window</strong> (on Mac OS X, <strong>Eclipse</strong>) &gt;
377<strong>Preferences</strong> &gt; <strong>General</strong> &gt; <strong>Network
378Connections</strong>.</li>
379</ul>
380
381<p> If you are still unable to use Eclipse to download the ADT plugin as a
382remote update site, you can download the ADT zip file to your local machine and
383manually install it:</p>
384
385<ol>
386 <li>Download the current ADT Plugin zip file from the table below (do not unpack it).
387
388 <table class="download">
389 <tr>
390 <th>Name</th>
391 <th>Package</th>
392 <th>Size</th>
393 <th>MD5 Checksum</th>
394 </tr>
395 <tr>
396 <td>ADT {@adtZipVersion}</td>
397 <td>
398 <a href="http://dl.google.com/android/{@adtZipDownload}">{@adtZipDownload}</a>
399 </td>
400 <td>{@adtZipBytes} bytes</td>
401 <td>{@adtZipChecksum}</td>
402 </tr>
403</table>
404</li>
405
406</li>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700407 <li>Follow steps 1 and 2 in the <a href="#installing">default install
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700408 instructions</a> (above).</li>
409 <li>In the Add Site dialog, click <strong>Archive</strong>.</li>
410 <li>Browse and select the downloaded zip file.</li>
411 <li>In Eclipse 3.5 only, enter a name for the local update site (e.g.,
412 "Android Plugin") in the "Name" field.</li>
413 <li>Click <strong>OK</strong>.
414 <li>Follow the remaining procedures as listed for
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700415 <a href="#installing">default installation</a> above,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700416 starting from step 4.</li>
417</ol>
418
419<p>To update your plugin once you've installed using the zip file, you will have
420to follow these steps again instead of the default update instructions.</p>
421
422<h4>Other install errors</h4>
423
424<p>Note that there are features of ADT that require some optional
425Eclipse components (for example, WST). If you encounter an error when
426installing ADT, your Eclipse installion might not include these components.
427For information about how to quickly add the necessary components to your
428Eclipse installation, see the troubleshooting topic
Dirk Dougherty22558d02009-12-10 16:25:06 -0800429<a href="{@docRoot}resources/faq/troubleshooting.html#installeclipsecomponents">ADT
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700430Installation Error: "requires plug-in org.eclipse.wst.sse.ui"</a>.</p>
431
432<h4>For Linux users</h4>
433<p>If you encounter this error when installing the ADT Plugin for Eclipse:
434<pre>
435An error occurred during provisioning.
436Cannot connect to keystore.
437JKS</pre>
438<p>
439...then your development machine lacks a suitable Java VM. Installing Sun
440Java 6 will resolve this issue and you can then reinstall the ADT
441Plugin.</p>
442
443
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700444<h2 id="updating">Updating the ADT Plugin</h2>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700445
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700446<p>From time to time, a new revision of the ADT Plugin becomes available, with
447new features and bug fixes. Generally, when a new revision of ADT is available,
448you should update to it as soon as convenient. </p>
449
450<p>In some cases, a new revision of ADT will have a dependency on a specific
451revision of the Android SDK Tools. If such dependencies exist, you will need to
452update the SDK Tools component of the SDK after installing the new revision of
453ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as
454described in <a href="adding-components.html">Adding SDK Components</a>.</p>
455
456<p>To learn about new features of each ADT revision and also any dependencies on
457the SDK Tools, see the listings in the <a href="#notes">Revisions</a>
458section. To determine the version currently installed, open the
459Eclipse Installed Software window using <strong>Help</strong>
460&gt; <strong>Software Updates</strong> and refer to the version listed for
461"Android Development Tools".</p>
462
463<p>Follow the steps below to check whether an update is available and, if so,
464to install it. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700465
466<table style="font-size:100%">
467<tr><th>Eclipse 3.4 (Ganymede)</th><th>Eclipse 3.5 (Galileo)</th></tr>
468<tr>
469<td width="50%">
470<!-- 3.4 steps -->
471<ol>
472 <li>Select <strong>Help</strong> &gt; <strong>Software Updates</strong>.</li>
473 <li>Select the <strong>Available Software</strong> tab.</li>
474 <li>Select the checkboxes next to Android DDMS and Android Developer Tools,
475 then click <strong>Update</strong>.</li>
476 <li>In the resulting Available Updates dialog, ensure that both Android DDMS
477 and Android Development Tools are selected, then click
478 <strong>Next</strong>.</li>
479 <li>Read and accept the license agreement and then click <strong>Finish</strong>.
480 This will download and install the latest version of Android DDMS and
481 Android Development Tools.</li>
482 <li>Restart Eclipse.</li>
483</ol>
484</td>
485<td>
486<!-- 3.5 steps -->
487<ol>
488 <li>Select <strong>Help</strong> &gt; <strong>Check for Updates</strong>. </li>
489 <li>In the resulting Available Updates dialog, locate the Android DDMS and
490 Android Development Tools features in the list and ensure that the checkboxes
491 next to them are selected. Click <strong>Next</strong>.
492 <p>If the Available Updates dialog does not list Android DDMS and Android
493 Development tools, make sure that you have set up a remote update site
494 for them, as described in
495 <a href="#installing">Installing the ADT Plugin</a>.
496 </p></li>
497 <li>In the Update Details dialog, click <strong>Next</strong>.</li>
498 <li>Read and accept the license agreement and then click <strong>Finish</strong>.
499 This will download and install the latest version of Android DDMS and
500 Android Development Tools.</li>
501 <li>Restart Eclipse.</li>
502</ol>
503</td>
504</tr>
505</table>
506
507
508<p>If you encounter problems during the update of ADT, you
509can try removing the existing ADT plugin and then performing a fresh
Dirk Dougherty22558d02009-12-10 16:25:06 -0800510installation. To remove the plugin, follow the instructions in <a
511href="#uninstalling">Uninstalling the ADT Plugin</a>, below. To reinstall
512the plugin, follow the instructions in <a
513href="#installing">Installing the ADT Plugin</a>, above.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700514
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700515
516<h2 id="uninstalling">Uninstalling the ADT plugin</h2>
517
518<p><p>If you encounter problems when installing or updating ADT, you
519can try removing the existing ADT plugin and then performing a fresh
520installation. To remove ADT, follow these steps: </p>
521
522<table style="font-size:100%">
523<tr><th>Eclipse 3.4 (Ganymede)</th><th>Eclipse 3.5 (Galileo)</th></tr>
524<tr>
525<td width="50%">
526<!-- 3.4 steps -->
527<ol>
528 <li>Select <strong>Help</strong> &gt; <strong>Software Updates</strong> &gt;
529 <strong>Manage Configuration</strong>. </li>
530 <li>Expand the list in the left panel to reveal the installed tools.</li>
531 <li>Right-click "Android Editors" and click <strong>Uninstall</strong>. Click <strong>OK</strong>
532 to confirm.</li>
533 <li>Restart Eclipse.
534 <p>(Do not uninstall "Android Development Tools".)</p></li>
535</ol>
536</td>
537<td>
538<!-- 3.5 steps -->
539<ol>
540 <li>Select <strong>Help</strong> &gt; <strong>Install New Software</strong>.</li>
541 <li>In the "Details" panel, click the "What is already installed?" link.</li>
542 <li>In the <strong>Eclipse Installation Details</strong> dialog, select "Android DDMS" and "Android Development Tools" and then click <strong>Uninstall</strong>.</li>
543 <li>In the next window, confirm that the ADT features are selected for uninstall and then click <strong>Finish</strong> to uninstall.</li>
544 <li>Restart Eclipse.</li>
545</ol>
546</td>
547</tr>
548</table>
549