blob: 3019544b2bbf52e01e56c1126bb137bcbadb6663 [file] [log] [blame]
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001page.title=ADT Plugin for Eclipse
Joe Fernandezdad557e2012-03-16 01:17:58 -07002adt.zip.version=17.0.0
3adt.zip.download=ADT-17.0.0.zip
4adt.zip.bytes=12836115
5adt.zip.checksum=ecb12c07e534997cd32c66d57f21b770
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07006
7@jd:body
8
9<div id="qv-wrapper">
10<div id="qv">
11
12 <h2>In this document</h2>
13 <ol>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070014 <li><a href="#notes">Revisions</a></li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070015 <li><a href="#installing">Installing the ADT Plugin</a>
16 <ol>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070017 <li><a href="#preparing">Preparing for Installation</a></li>
18 <li><a href="#downloading">Downloading the ADT Plugin</a>
19 <li><a href="#configuring">Configuring the ADT Plugin</a></li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070020 <li><a href="#troubleshooting">Troubleshooting</a></li>
21 </ol>
22 </li>
23 <li><a href="#updating">Updating the ADT Plugin</a></li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070024 </ol>
Robert Ly6c81c302011-10-05 12:59:29 -070025
Scott Main22d39262011-08-25 11:38:50 -070026 <h2>See also</h2>
27 <ol>
28 <li><a href="{@docRoot}guide/developing/tools/adt.html">Android Developer Tools</a></li>
29 </ol>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070030
31</div>
32</div>
33
Scott Main081127b2010-10-29 15:56:27 -070034<p>Android Development Tools (ADT) is a plugin for the Eclipse IDE
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070035that is designed to give you a powerful, integrated environment in which
Robert Lyccea5d22011-02-11 14:59:36 -080036to build Android applications.</p>
Dirk Doughertybf15ce62009-10-23 19:17:12 -070037
Scott Main13244e52010-01-19 11:12:07 -080038<p>ADT extends the capabilities of Eclipse to let you quickly set up new Android
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070039projects, create an application UI, add components based on the Android
Dirk Doughertybf15ce62009-10-23 19:17:12 -070040Framework API, debug your applications using the Android SDK tools, and even
Scott Main7b013bb2011-03-14 14:17:31 -070041export signed (or unsigned) {@code .apk} files in order to distribute your application.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070042
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070043<p>Developing in Eclipse with ADT is highly recommended and is the fastest way
44to get started. With the guided project setup it provides, as well as tools
Scott Mainb86cba12012-01-30 23:56:53 -080045integration, custom XML editors, and debug output pane, ADT gives you an
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070046incredible boost in developing Android applications. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070047
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070048<p>This document provides step-by-step instructions on how to download the ADT
49plugin and install it into your Eclipse development environment. Note that
50before you can install or use ADT, you must have compatible versions of both the
51Eclipse IDE and the Android SDK installed. For details, make sure to read <a
52href="#installing">Installing the ADT Plugin</a>, below. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070053
Scott Main081127b2010-10-29 15:56:27 -070054<p>If you are already using ADT, this document also provides instructions on
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070055how to update ADT to the latest version or how to uninstall it, if necessary.
56</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070057
Scott Main22d39262011-08-25 11:38:50 -070058<p>For information about the features provided by the ADT plugin, such as code
59editor features, SDK tool integration, and the graphical layout editor (for drag-and-drop layout
60editing), see the <a href="{@docRoot}guide/developing/tools/adt.html">Android Developer Tools</a>
61document.</p>
62
63
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070064<h2 id="notes">Revisions</h2>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070065
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070066<p>The sections below provide notes about successive releases of
67the ADT Plugin, as denoted by revision number. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070068
Scott Maine09743272011-10-14 11:25:46 -070069<p>For a summary of all known issues in ADT, see <a
Scott Mainb321cd92011-10-20 12:57:43 -070070href="http://tools.android.com/knownissues">http://tools.android.com/knownissues</a>.</p>
Scott Maine09743272011-10-14 11:25:46 -070071
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070072<script type="text/javascript">
73function toggleDiv(link) {
74 var toggleable = $(link).parent();
75 if (toggleable.hasClass("closed")) {
76 //$(".toggleme", toggleable).slideDown("fast");
77 toggleable.removeClass("closed");
78 toggleable.addClass("open");
79 $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));
80 } else {
81 //$(".toggleme", toggleable).slideUp("fast");
82 toggleable.removeClass("open");
83 toggleable.addClass("closed");
84 $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));
85 }
86 return false;
87}
88</script>
89<style>
90.toggleable {
91padding: .25em 1em;
92}
93.toggleme {
94 padding: 1em 1em 0 2em;
95 line-height:1em;
96}
97.toggleable a {
98 text-decoration:none;
99}
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700100.toggleme a {
101 text-decoration:underline;
102}
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700103.toggleable.closed .toggleme {
104 display:none;
105}
106#jd-content .toggle-img {
107 margin:0;
108}
109</style>
110
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700111<div class="toggleable opened">
112 <a href="#" onclick="return toggleDiv(this)">
Scott Main92b03082010-12-14 17:55:27 -0800113 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
114width="9px" />
Joe Fernandezdad557e2012-03-16 01:17:58 -0700115ADT 17.0.0</a> <em>(March 2012)</em>
116 <div class="toggleme">
117<dl>
118 <dt>Dependencies:</dt>
119
120 <dd>
121 <ul>
122 <li>Java 1.6 or higher is required for ADT 17.0.0.</li>
123 <li>Eclipse Helios (Version 3.6.2) or higher is required for ADT 17.0.0.</li>
124 <li>ADT 17.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools
125 r17</a>. If you haven't already installed SDK Tools r17 into your SDK, use the Android SDK
126 Manager to do so.</li>
127 </ul>
128 </dd>
129
130 <dt>General improvements:</dt>
131 <dd>
132 <ul>
133 <li>New build features
134 <ul>
135 <li>Added feature to automatically setup JAR dependencies. Any {@code .jar} files in the
136 {@code /libs} folder are added to the build configuration (similar to how the Ant build
137 system works). Also, {@code .jar} files needed by library projects are also automatically
Joe Fernandez1e72b342012-03-21 16:25:21 -0700138 added to projects that depend on those library projects.
139 (<a href="http://tools.android.com/recent/dealingwithdependenciesinandroidprojects">more
140 info</a>)</li>
Joe Fernandezdad557e2012-03-16 01:17:58 -0700141 <li>Added a feature that allows you to run some code only in debug mode. Builds now
142generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is
143automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG})
144constant in your code to run debug-only functions.</li>
145 <li>Added support for custom views with custom attributes in libraries. Layouts using
146custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead
147of the URI that includes the app package name. This URI is replaced with the app specific one at
148build time.</li>
149 </ul>
150 </li>
151 <li>Improved Lint features. See the <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r17</a>
152release notes.</li>
153 <li>Improved the Lint user interface
154 <ul>
155 <li>Added <strong>Run Lint</strong> toolbar action with a dropdown menu for selecting
156specific (or all) projects, clearing results and other actions.</li>
157 <li>Updated the results window to be organized as a tree rather than a flat list. Each
158issue type has a single top level item, which makes it easier to quickly scan through the reported
159issues and narrow down to the issues you are most interested in.</li>
160 <li>Added many new toolbar actions to the results window, including expand/collapse,
161ignore in file, ignore in project, ignore everywhere, show options, and configure columns.</li>
162 <li>Added new column options for the <strong>Lint Warnings</strong> tab, such as
163category, priority, project, file and line. The column selection (as well as the column sizes) are
164persisted. You can also click on columns to sort by those values.</li>
165 <li>Added Enable All and Disable All buttons to the Lint Options dialog, and a search
166filter textbox to filter by issue id, summary and severity.</li>
167 </ul>
168 </li>
169 <li>Added Quick Outline for XML editors (Ctrl-O, Command-O). This feature shows the structure
170of the current file including icons and ids, lets you filter and quickly jump to specific ids.</li>
171 <li>Updated the resource chooser to shows the resolved value for resources. For example,
172when selecting {@code @string/hello} the chooser displays a resolved value such as "Hello World").
173The resource chooser also now allows you to edit the chosen value directly.</li>
174 <li>Updated Layout Editor so that it does not assign default ids to layouts, includes and
175merge tags. This behavior tended to pollute the namespace with a lot of unused resources since
176layouts are not usually manipulated via code, or referenced from XML. (The RelativeLayout editor
177automatically assigns ids to views without ids when pointing to them.)</li>
178 <li>Added ability to export screenshots from the Layout Editor</li>
179 </ul>
180 </dd>
181
182 <dt>Bug fixes:</dt>
183 <dd>
184 <ul>
185 <li>Fixed problem using Layout Editor with {@link android.widget.SlidingDrawer} which could
186 not be dragged into the layout on some platforms.</li>
187 <li>Fixed preview rendering for {@link android.widget.SlidingDrawer} and
188 {@link android.widget.TabHost}.
189 (<a href="http://code.google.com/p/android/issues/detail?id=23022">Issue 23022</a>).</li>
190 <li>Fixed issues that could prevent layout rendering due to unresolvable resources.
191 (<a href="http://code.google.com/p/android/issues/detail?id=21046">Issue 21046</a>,
192 <a href="http://code.google.com/p/android/issues/detail?id=21051">Issue 21051</a>)</li>
193 <li>Fixed a bug in resource chooser which made some types of framework resources impossible to
194select. (<a href="http://code.google.com/p/android/issues/detail?id=20589">Issue 20589</a>)</li>
195 <li>Fixed a bug in the formatter where a certain whitespace pattern could result in a
196 non-space character getting deleted.
197 (<a href="http://code.google.com/p/android/issues/detail?id=23940">Issue 23940</a>)</li>
198 <li>Fixed a locale bug affecting Turkish locales in particular.
199 (<a href="http://code.google.com/p/android/issues/detail?id=23747">Issue 23747</a>)</li>
200 <li>Fixed issue where dex complains about duplicate classes in cases where a Library
201 Project depends on the same jar files or Java-only projects.</li>
202 <li>Fixed issue where test projects had to independently reference the library projects used
203 by an app project. Now referencing only the app project is enough.</li>
204 </ul>
205 </dd>
206
207</dl>
208
209</div>
210</div>
211
212<div class="toggleable closed">
213 <a href="#" onclick="return toggleDiv(this)">
214 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
215width="9px" />
Joe Fernandeze4f20312011-12-15 13:23:53 -0800216ADT 16.0.1</a> <em>(December 2011)</em>
217 <div class="toggleme">
218<dl>
219 <dt>Dependencies:</dt>
220
221 <dd>
222 <ul>
223 <li>Eclipse Helios (Version 3.6) or higher is required for ADT 16.0.1.</li>
224 <li>ADT 16.0.1 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools
225 r16</a>. If you haven't already installed SDK Tools r16 into your SDK, use the Android SDK
226 Manager to do so.</li>
227 </ul>
228 </dd>
229
230 <dt>Bug fixes:</dt>
231 <dd>
232 <ul>
233 <li>Fixed build issue where the 9-patch could be packaged as normal bitmap in some cases.</li>
234 <li>Fixed minor issues in the <a href="http://tools.android.com/recent/lint">Lint</a>
235 tool.</li>
236 <li>Fixed minor issues in the SDK Manager.</li>
237 </ul>
238 </dd>
239</dl>
240
241</div>
242</div>
243
244
245<div class="toggleable closed">
246 <a href="#" onclick="return toggleDiv(this)">
247 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
248width="9px" />
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800249ADT 16.0.0</a> <em>(December 2011)</em>
250 <div class="toggleme">
251<dl>
252 <dt>Dependencies:</dt>
253
254 <dd>
255 <ul>
256 <li>Eclipse Helios (Version 3.6) or higher is required for ADT
25716.0.0.</li>
258 <li>ADT 16.0.0 is designed for use with <a
259href="{@docRoot}sdk/tools-notes.html">SDK Tools r16</a>. If you haven't already installed SDK Tools
260r16 into your SDK, use the Android SDK Manager to do so.</li>
261 </ul>
262 </dd>
263
264 <dt>General improvements:</dt>
265 <dd>
266 <ul>
Joe Fernandeze4f20312011-12-15 13:23:53 -0800267 <li>Added Lint tool to detect common errors in Android projects. (<a
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800268href="http://tools.android.com/recent/lint">more info</a>)</li>
269 </ul>
270 </dd>
271</dl>
272
273</div>
274</div>
275
276
277<div class="toggleable closed">
278 <a href="#" onclick="return toggleDiv(this)">
279 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
280width="9px" />
Robert Ly8c703962011-11-11 16:40:29 -0800281ADT 15.0.1</a> <em>(November 2011)</em>
282 <div class="toggleme">
283<dl>
284 <dt>Dependencies:</dt>
Joe Fernandezdad557e2012-03-16 01:17:58 -0700285
Robert Ly8c703962011-11-11 16:40:29 -0800286 <dd>ADT 15.0.1 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r15</a>.
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800287 If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK Manager to
Robert Ly8c703962011-11-11 16:40:29 -0800288 do so.</dd>
Joe Fernandezdad557e2012-03-16 01:17:58 -0700289
Robert Ly8c703962011-11-11 16:40:29 -0800290 <dt>Bug fixes:</dt>
291 <dd>
292 <ul>
293 <li>Fixed how source files are attached to library project <code>.jar</code> files.</li>
294 <li>Fixed how the <code>bin/</code> folder for library projects are refreshed. This ensures that parent projects pick up changes in library projects.</li>
295 <li>Fixed how a parent project's library container is updated when a library project is recompiled. This ensures that parent projects are
296 recompiled when code in a library project changes.</li>
297 <li>Fixed how <code>res/</code> folders are checked in library projects. This ensures that all <code>res</code> folders are properly included
298 even if Eclipse is not aware of them due to refresh issues.</li>
299 <li>Fixed issue that prevented <code>aapt</code> from running when editing certain XML files.</li>
300 <li>Fixed minor XML formatting issues.</li>
301 </ul>
302 </dd>
303</dl>
304
305</div>
306</div>
307
308
309
310<div class="toggleable closed">
311 <a href="#" onclick="return toggleDiv(this)">
312 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
313width="9px" />
Robert Ly490463f2011-10-24 11:06:36 -0700314ADT 15.0.0</a> <em>(October 2011)</em>
315 <div class="toggleme">
316<dl>
317
318<dt>Dependencies:</dt>
319
320<dd>ADT 15.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r15</a>.
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800321If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK Manager to
Robert Ly490463f2011-10-24 11:06:36 -0700322do so.</dd>
323
324<dt>Bug fixes:</dt>
325<dd>
326<ul>
327 <li>Fixed build issue when using Renderscript in projects that target API levels 11-13
328 (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li>
329 <li>Fixed issue when creating projects from existing source code.</li>
330 <li>Fixed issues in the SDK Manager
331 (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>,
332 <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li>
333 <li>Fixed scrolling issue in the new Logcat panel of DDMS.</li>
334</ul>
335</dd>
336</dl>
337
338</div>
339</div>
340
341<div class="toggleable closed">
342 <a href="#" onclick="return toggleDiv(this)">
343 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
344width="9px" />
Robert Ly6c81c302011-10-05 12:59:29 -0700345ADT 14.0.0</a> <em>(October 2011)</em>
346 <div class="toggleme">
347<dl>
348
349<dt>Dependencies:</dt>
350
351<dd>ADT 14.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r14</a>.
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800352If you haven't already installed SDK Tools r14 into your SDK, use the Android SDK Manager to
Robert Ly6c81c302011-10-05 12:59:29 -0700353do so.</dd>
354
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800355<dt>Build system:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700356<dd>
357 <ul>
358 <li>Changed <code>default.properties</code> to <code>project.properties</code> and
359 <code>build.properties</code> to <code>ant.properties</code>. ADT automatically
360 renames these files, if necessary, when you open a project in Eclipse.</li>
361 <li>Changed how library projects are built in Eclipse.</a></li>
362 <li>Changed output of <code>javac</code> from <code>bin/</code> to <code>bin/classes</code>
363 in Eclipse.</li>
364 <li>Improved incremental builds so that resource compilation runs less frequently. Builds no
365 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer
366 run once for each library project.</li>
367 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of
368 crunching all existing PNG files, all the time.</li>
369 <li>Modified resource compilation so it no longer happens for normal save operations. It only
370 happens when running or debugging (the build option that lets you disable the packaging
371 step, which was introduced in ADT 12, is now on by default.)</li>
372 </ul>
373<p>For a complete overview of the build system changes and what you need to do to support them,
374see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project
375site</a>.</p>
376</dd>
377
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800378<dt>General improvements:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700379<dd>
380 <ul>
381
382
383<li>Added a Welcome Wizard to help with the initial setup of the Android
384development environment (<a href="http://tools.android.com/recent/welcomewizard">more
385info</a>).</li>
386<li>Integrated the Android Asset Studio, which helps you create icons for things
387like the launcher, menus, and tabs. (<a
388href="http://tools.android.com/recent/assetstudiointegration">more
389info</a>).</li>
390<li>Revamped the Logcat view and added support to display and filter logs by
391 application names as well as PIDs (<a
392 href="http://tools.android.com/recent/updatedlogcatviewer">more info</a>).</li>
393<li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more
394info</a>).</li>
395<li>Revamped the New Project and the New XML File wizards to have
396multiple pages. Sample projects are now copied into the workspace such that they can be modified
397and deleted without affecting the master copy
398(<a href="http://tools.android.com/recent/revampedwizards">more info</a>).</li>
399<li>Removed the dependency on Eclipse GEF.</li>
400</ul>
401</dd>
402
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800403<dt>XML and Java editors:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700404<dd>
405 <ul>
406 <li>Added a new XML formatter that formats all XML files according to the
407 standard Android coding style. The formatter can also reorder
408 attributes to follow a recommended order and processes any changes made in the Layout editor.
409(<a href="http://tools.android.com/recent/xmlformatter">more info</a>).</li>
410 <li>Added the "Go to Matching" (Ctrl-Shift-P) feature, which lets you jump
411between opening and closing tags in XML files.</li>
412 <li>Added support for the "Select Enclosing Element" feature on Mac.</li>
413 <li>Added a Quickfix for extracting Strings when the caret is inside a String (<a href="">see
414more</a>).</li>
415 <li>Improved "smart indent", which allows automatic indentation and un-indentation
416 when pressing the Return key in XML editors (<a
417href="http://tools.android.com/recent/xmleditingimprovements">more info</a>).</li>
418
419 </ul>
420</dd>
421
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800422<dt>Layout editor:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700423<dd>
424 <ul>
425 <li>Added tooltip feedback for dragging and resizing operations. For
426 example, when dragging in a relative layout, the proposed
427 constraints are shown. When resizing, the new dimensions are
428 shown (<a href="http://tools.android.com/recent/layouteditorfeedbacktooltips">more
429info</a>).</li>
430 <li>Added the ability to suppress rendering fidelity warnings (<a
431href="http://tools.android.com/recent/suppressrenderwarnings">more info</a>).</li>
432 <li>Added "Remove Container" visual refactoring that removes the
433 children of a container up to the top level and transfers
434 namespace and layout attributes if necessary (<a
435href="http://tools.android.com/recent/removecontainervisualrefactoring">more info</a>).</li>
436 <li>Added pull-right menus to the context menu for accessing
437 properties of the parents, which is useful when the children fully
438 cover the parent and make it hard to select on their own.</li>
439 <li>Improved access to properties in the context menu. The most
440 frequently set attributes for each view are listed at the top of
441 the menu. The Properties menu offers access to the most
442 recently set attributes, attributes organized by their defining
443 view, and layout attributes only or all attributes alphabetically (<a
444href="http://tools.android.com/recent/layouteditorcontextmenuimprovements">more info</a>).</li>
445 </ul>
446</dd>
447
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800448<dt>Bug fixes:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700449<dd>Fixed many bugs and added <a
450href="http://tools.android.com/recent/miscellaneousrecentfixes">minor improvements</a>, in
451particular some <a href="http://tools.android.com/recent/linuxfixes">critical bug fixes on
452Linux</a>.</dd>
453
454</div>
455</div>
456
457
458
459<div class="toggleable closed">
460 <a href="#" onclick="return toggleDiv(this)">
461 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
462width="9px" />
Robert Ly31ee77e2011-07-06 11:16:19 -0700463ADT 12.0.0</a> <em>(July 2011)</em>
Robert Ly205d1c32011-06-28 13:13:14 -0700464 <div class="toggleme">
465<dl>
466
467<dt>Dependencies:</dt>
468
469<dd>ADT 12.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r12</a>. If you haven't
470already installed SDK Tools r12 into your SDK, use
471the Android SDK and AVD Manager to do so.</dd>
472
473<dt>Visual Layout Editor:</dt>
474<dd>
475<ul>
476 <li>New RelativeLayout drop support with guideline suggestions for
477 attachments and cycle prevention
478 (<a href="http://tools.android.com/recent/revampedrelativelayoutsupport">more info</a>).</li>
479 <li>Resize support in most layouts along with
480 guideline snapping to the sizes dictated by <code>wrap_content</code> and <code>match_parent</code>.
481 In LinearLayout, sizes are mapped to weights instead of pixel widths.
482 (<a href="http://tools.android.com/recent/resizesupport">more info</a>).</li>
483 <li>Previews of drawables and colors in the resource chooser dialogs
484 (<a href="http://tools.android.com/recent/imageandcolorpreviews">more info</a>).</li>
485 <li>Improved error messages and links for rendering errors including
486 detection of misspelled class names
487 (<a href="http://tools.android.com/recent/improvedrenderingerrordiagnostics">more info</a>).</li>
488</ul>
489</dd>
490
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800491<dt>Build system:</dt>
Robert Ly205d1c32011-06-28 13:13:14 -0700492<dd>
493<ul>
Robert Ly6c81c302011-10-05 12:59:29 -0700494 <li id="build-option">A new option lets you disable the packaging step in the automatic
Robert Ly205d1c32011-06-28 13:13:14 -0700495 builders. This improves performance when saving files by not
496 performing a full build, which can take a long time for large projects.
497 If the option is enabled, the APK is packaged when the
498 application is deployed to a device or emulator or when the
499 release APK is exported (<a href="http://tools.android.com/recent/finercontroloveradtbuildprocess">more info</a>).</li>
500</ul>
501</dd>
502
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800503<dt>Bug fixes:</dt>
Robert Ly205d1c32011-06-28 13:13:14 -0700504<dd>Many bug fixes are part of this release
505(<a href="http://tools.android.com/recent/adt12bugfixroundup">more info</a>).</dd>
506
507</div>
508</div>
509
510
511<div class="toggleable closed">
512 <a href="#" onclick="return toggleDiv(this)">
513 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
514width="9px" />
Scott Main25d0b9f2011-05-26 14:12:54 -0700515ADT 11.0.0</a> <em>(June 2011)</em>
Robert Ly205d1c32011-06-28 13:13:14 -0700516 <div class="toggleme">
Scott Main25d0b9f2011-05-26 14:12:54 -0700517
518<dl>
519
520<dt>Dependencies:</dt>
521
522<dd>ADT 11.0.0 is designed for use with SDK Tools r11. If you haven't
523already installed SDK Tools r11 into your SDK, use the Android SDK and AVD Manager to do
524so.</dd>
525
526<dt>Visual Refactoring:</dt>
527<dd>
528 <ul>
529 <li>"Extract Style" feature pulls out style-related attributes from your layout and extracts
530them as a new style defined in {@code styles.xml} (<a
531href="http://tools.android.com/recent/extractstylerefactoring">more info</a>).</li>
532 <li>"Wrap in Container" feature lets you select a group of views then surround them
533 in a new layout (a new view group, such as a LinearLayout), and transfers namespace and layout
534 parameters to the new parent (<a
535href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
536info</a>).</li>
537 <li>"Change Layout" feature changes layouts from one type
538 to another, and can also flatten a layout hierarchy (<a
539href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
540info</a>).</li>
541 <li>"Change Widget Type" feature changes the type of the
542 selected views to a new type. Also, a new selection context menu
543 in the visual layout editor makes it easy to select siblings as
544 well as views anywhere in the layout that have the same type (<a
545href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
546info</a>).</li>
547 <li>"Extract as Include" feature finds identical collections of views
548 in other layouts and offers to combine them into a single layout that you can then include in
549 each layout (<a
550href="http://tools.android.com/recent/extractasincludeimprovements">more info</a>).</li>
551 <li>Quick Assistant in Eclipse can be invoked
552 from the XML editor (with Ctrl-1) to apply any of the above
553 refactorings (and Extract String) to the current selection (<a
554href="http://tools.android.com/recent/refactoringquickassistant">more info</a>).</li>
555 </ul>
556</dd>
557
558<dt>Visual Layout Editor:</dt>
559<dd>
560 <ul>
561 <li>This is the update to the layout editor you've been waiting for! It includes (almost) all
562the goodies demonstrated at Google I/O. <a href="http://www.youtube.com/watch?v=Oq05KqjXTvs">Watch
563the video</a> on YouTube.</li>
564 <li>The palette now supports different configurations for supported widgets. That is, a single
565view is presented in various different configurations that you can drag into your layout. For
566example, there is a <em>Text Fields</em> palette category where you can drag an {@link
567android.widget.EditText} widget in as a password field, an e-mail field, a phone field, or other
568types of text boxes. Similarly, {@link android.widget.TextView} widgets are preconfigured
569with large, normal and small theme sizes, and {@link android.widget.LinearLayout} elements are
570preconfigured in horizontal and vertical configurations (<a
571href="http://tools.android.com/recent/multipletextfieldandlayouttypes">more info</a>).</li>
572 <li>The palette supports custom views. You can pick up any custom
573 implementations of the View class you've created in your project or from included libraries and
574drag them into your layout (<a
575href="http://tools.android.com/recent/customviewsinthepalette">more info</a>).</li>
576 <li>Fragments are available in the palette for placement in your layout. In the tool, you can
577choose which layout to show rendered for a given fragment tag. Go to declaration works for fragment
Robert Ly6c81c302011-10-05 12:59:29 -0700578classes (<a href="http://tools.android.com/recent/fragmentsupport">more info</a>).</li>
Scott Main25d0b9f2011-05-26 14:12:54 -0700579 <li>The layout editor automatically applies a "zoom to fit" for newly
580 opened files as well as on device size and orientation changes to
581 ensure that large layouts are always fully visible unless you
582 manually zoom in.</li>
583 <li>You can drop in an {@code &lt;include&gt;} element from the palette, which will pop up
584 a layout chooser. When you select the layout to include, it is added with an {@code
585&lt;include&gt;}. Similarly, dropping images or image buttons will pop up image
586 resource choosers (<a
587href="http://tools.android.com/recent/includetagdropsupport">more info</a>).</li>
588 <li>The configuration chooser now applies the "Render Target" and
589 "Locale" settings project wide, making it trivial to check the
590 layouts for different languages or render targets without having
591 to configure these individually for each layout.</li>
592 <li>The layout editor is smarter about picking a default theme to
593 render a layout with, consulting factors like theme registrations
594 in the manifest, the SDK version, and other factors.</li>
595 <li>The layout editor is smarter about picking a default configuration to render a layout
596with, defaulting to the currently visible configuration in the previous file. It also considers the
597SDK target to determine whether to default to a tablet or phone screen size.</li>
598 <li>Basic focus support. The first text field dropped in a layout is assigned focus, and there
599are <strong>Request Focus</strong> and <strong>Clear Focus</strong> context menu items on text
600fields to change the focus.</li>
601 </ul>
602</dd>
603
604<dt>XML editors:</dt>
605<dd>
Robert Ly6c81c302011-10-05 12:59:29 -0700606<ul>
Scott Main25d0b9f2011-05-26 14:12:54 -0700607 <li>Code completion has been significantly improved. It now works
608 with {@code &lt;style&gt;} elements, completes dimensional units,
609 sorts resource paths in values based on the attribute name, and more. There are also many fixes to
610handle text replacement (<a
611href="http://tools.android.com/recent/xmlcodecompletionimprovements">more info</a>).</li>
612 <li>AAPT errors are handled better. They are now underlined for the
613 relevant range in the editor, and a new quickfix makes it trivial
614 to create missing resources.</li>
615 <li>Code completion for drawable, animation and color XML files (<a
616href="http://tools.android.com/recent/codecompletionfordrawablescolorsandanimationfiles">more
617info</a>).</li>
618</ul>
619</dd>
620
621<dt>DDMS:</dt>
622<dd>
Robert Ly6c81c302011-10-05 12:59:29 -0700623<ul>
Scott Main25d0b9f2011-05-26 14:12:54 -0700624 <li>"New Folder" action in the File Explorer.</li>
625 <li>The screenshot dialog will add timestamps to the filenames and preserve the orientation on
626snapshot refresh.</li>
627</ul>
628</dd>
629
630<dt>General notes:</dt>
631<dd>
632 <ul>
633 <li>TraceView supports zooming with the mouse-wheel in the timeline.</li>
634 <li>The New Android Project wizard now supports Eclipse working sets.</li>
635 </ul>
636</dd>
637</dl>
638<p>More information about tool changes are available on the <a
639href="http://tools.android.com/recent">Android Tools Project Site</a>.</p>
640</div>
641</div>
642
643
Robert Ly205d1c32011-06-28 13:13:14 -0700644
645
646
Scott Main25d0b9f2011-05-26 14:12:54 -0700647<div class="toggleable closed">
648 <a href="#" onclick="return toggleDiv(this)">
649 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
650width="9px" />
Scott Main7b013bb2011-03-14 14:17:31 -0700651ADT 10.0.1</a> <em>(March 2011)</em>
652 <div class="toggleme">
653
654<dl>
655
656<dt>Dependencies:</dt>
657
658<dd>ADT 10.0.1 is designed for use with SDK Tools r10. If you haven't
659already installed SDK Tools r10 into your SDK, use the Android SDK and AVD Manager to do
660so.</dd>
661
662<dt>General notes:</dt>
663<dd>
664 <ul>
665 <li>Temporary work-around to resolve the rare cases in which the layout editor will
666not open.</li>
667 <li>Fix issue in which ADT 10.0.0 would install on Eclipse 3.4 and lower, even though ADT
668requires Eclipse 3.5 or higher (as of 10.0.0).</li>
669 </ul>
670</dd>
671</dl>
672</div>
673</div>
674
675
676
677<div class="toggleable closed">
678 <a href="#" onclick="return toggleDiv(this)">
679 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
680width="9px" />
Robert Lyccea5d22011-02-11 14:59:36 -0800681ADT 10.0.0</a> <em>(February 2011)</em>
682 <div class="toggleme">
683
684<dl>
685
686<dt>Dependencies:</dt>
687
688<dd>ADT 10.0.0 is designed for use with SDK Tools r10. If you haven't
689already installed SDK Tools r10 into your SDK, use the Android SDK and AVD Manager to do
690so.</dd>
691
692<dt>General notes:</dt>
693<dd>
694 <ul>
695 <li>The tools now automatically generate Java Programming Language source files (in the <code>gen/</code> directory) and
696 bytecode (in the <code>res/raw/</code> directory) from your <code>.rs</code> files.</li>
Robert Lya0ef3502011-02-15 16:08:03 -0800697 <li>A Binary XML editor has been added (<a href="http://tools.android.com/recent/binaryxmleditor">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800698 <li>Traceview is now integrated into the Eclipse UI (<a href="http://tools.android.com/recent/traceviewineclipse">details</a>).</li>
699 <li>The "Go To Declaration" feature for XML and <code>.java</code> files quickly show all the matches in the project
Robert Lya0ef3502011-02-15 16:08:03 -0800700 and allows you jump to specific items such as string translations or <code>onClick</code> handlers
701 (<a href="http://tools.android.com/recent/gotodeclarationimprovements">details</a>).</li>
702 <li>The Resource Chooser can create items such as dimensions, integers, ids, and booleans
703 (<a href="http://tools.android.com/recent/resourcechoosercannowcreatearbitraryvalues">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800704 <li>Improvements to the Visual Layout Editor:
705 <ul>
706 <li>A new Palette with categories and rendering previews
707 (<a href="http://tools.android.com/recent/newpalette">details</a>).</li>
Robert Lya0ef3502011-02-15 16:08:03 -0800708 <li>A Layout Actions bar that provides quick access to common layout operations
709 (<a href="http://tools.android.com/recent/layoutactionsbar">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800710 <li>When the Android 3.0 rendering library is selected, layouts render more like they do on devices.
711 This includes rendering of status and title bars to more accurately reflect the actual
Robert Lya0ef3502011-02-15 16:08:03 -0800712 screen space available to applications
713 (<a href="http://tools.android.com/recent/systembarandactionbar">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800714 <li>Zoom improvements such as fit to view, persistent scale, and keyboard access.
715 (<a href="http://tools.android.com/recent/zoomimprovements">details</a>).</li>
Robert Lya0ef3502011-02-15 16:08:03 -0800716 <li>Further improvements to <code>&lt;merge&gt;</code> layouts, as well as layouts with gesture overlays
717 (<a href="http://tools.android.com/recent/improvedsupportformergetags">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800718 <li>Improved rendering error diagnostics.</li>
719 </ul>
Robert Ly6c81c302011-10-05 12:59:29 -0700720 </li>
Robert Lyccea5d22011-02-11 14:59:36 -0800721 </ul>
722</dd>
723</dl>
724</div>
725</div>
726
727<div class="toggleable closed">
728 <a href="#" onclick="return toggleDiv(this)">
729 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
730width="9px" />
Robert Lyedc2aac2011-01-14 16:25:09 -0800731ADT 9.0.0</a> <em>(January 2011)</em>
732 <div class="toggleme">
733
734<dl>
735
736<dt>Dependencies:</dt>
737
738<dd>ADT 9.0.0 is designed for use with SDK Tools r9. If you haven't
739already installed SDK Tools r9 into your SDK, use the Android SDK and AVD Manager to do
740so.</dd>
741
742<dt>General notes:</dt>
743<dd>
Robert Ly6c81c302011-10-05 12:59:29 -0700744 <ul>
Robert Lyedc2aac2011-01-14 16:25:09 -0800745 <li>"Go To Declaration" hyperlink support: You can jump directly from code references (such as
746 <code>R.id.main</code>) to the corresponding XML declaration, or from XML attributes (such as
747 <code>@string</code>) to the corresponding resource definition, or from manifest XML
748 registrations to activities and services.</li>
749 <li>Improvements were made to name refactoring.</li>
750 <li>AVDs now automatically save their state, so they can restart almost instantly. You can enable this feature when
Robert Ly6c81c302011-10-05 12:59:29 -0700751 creating an AVD or by editing an AVD with the AVD Manager.</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800752 <li>Improvements to the Visual Layout Editor:
753 <ul>
754 <li>Support for rendering targets: You can now choose an arbitrary Android platform to
755 render the current page, regardless of the project's minimum platform. This makes it
756 easy to verify the layout and appearance of your activity on different versions of
757 the platform.
758 </li>
759 <li>Improved support for empty and nested layouts: Dragging items over nested and
760 invisible layouts automatically enlarges and highlights these layouts, so that they
761 can receive drops.
762 </li>
763 <li>XML formatting improvements: The editor generates cleaner XML and you can now enable
764 XML auto-formatting in the <strong>Preferences</strong> menu.</li>
765 <li>Improved Outline labels: The Outline tab now displays additional information about each
766 View. Textual Views display a snippet of the actual text. Views with a source
767 (such as ImageView) displays the resource name. Included Views display the name of the View.
768 </li>
769 <li>When you right click a View in the Layout Editor,
770 the context menu now contains <strong>Edit ID...</strong> and <strong>Edit Text...</strong>
771 items. The <strong>Properties...</strong> context menus now list all of the properties and
772 provide a way to edit them
773 (<a href="http://tools.android.com/recent/editidtextandotherpropertiesviamenu">Details</a>).
774 </li>
775 <li>The layout editor now properly handles
776 <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"><code>&lt;include&gt;</code></a>
777 and <a href="{@docRoot}guide/topics/resources/layout-resource.html#merge-element"><code>&lt;merge&gt;</code></a>
778 tags (<a href="http://tools.android.com/recent/supportforincludeandmerge">Details</a>).</li>
779 <li>"Extract as Include" refactoring: The Layout Editor has a new refactoring that allows
780 you to select one or more views in a layout, and extract it into a separate layout
781 (<a href="http://tools.android.com/recent/extractasincluderefactoring">Details</a>).</li>
782 <li>Improved diagnostics for class loading and rendering errors: Class loading and rendering
783 error messages are more useful and provide better information about the root cause of the
784 error.</li>
785 <li>Improved error handling to prevent drag and reordering operations from adding children
786 into an {@link android.widget.AdapterView}.</li>
787 <li>Outline reordering: Reordering your views in the Outline tab is much easier
788 (<a href="http://tools.android.com/recent/outlineimprovements">Details</a>).</li>
Robert Ly6c81c302011-10-05 12:59:29 -0700789 <li>Fix for keybinding bug where keyboard shortcuts did not work (Issues
790 <a href="http://code.google.com/p/android/issues/detail?id=13231">13231</a> and
Robert Lyedc2aac2011-01-14 16:25:09 -0800791 <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li>
Robert Ly6c81c302011-10-05 12:59:29 -0700792 <li>Fix for problems with Custom layout attribute menu (Issue
Robert Lyedc2aac2011-01-14 16:25:09 -0800793 <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li>
794 <li>Automatic configuration for various view types: Certain views have properties configured
795 by default. For example, the width of an {@link android.widget.EditText} object is set to
796 <code>match_parent</code> when added to a vertical {@link android.widget.LinearLayout}
797 or a default image is added to an {@link android.widget.ImageButton}.</li>
798 <li>Previews during dragging: Dragging from the palette or dragging within the layout editor
799 now shows live previews of the dragged item.</li>
800 <li>Navigation improvements: In the Layout Editor, double-clicking Views jumps to the
801 corresponding XML element. In the Outline view, double-clicking opens the Properties view.</li>
802 <li>The editor has Honeycomb style animation preview support.</li>
803 <li>Improved rendering support for various Views (such as TabHosts and SlidingDrawers) in
804 Honeycomb (Issues <a href="http://code.google.com/p/android/issues/detail?id=3162">3162</a>
805 and <a href="http://code.google.com/p/android/issues/detail?id=13092">13092</a>).</li>
806 <li>Included layouts can be rendered and edited in the context of the layouts that include
807 them. From a layout using an <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element">
Robert Ly6c81c302011-10-05 12:59:29 -0700808 <code>&lt;include&gt;</code></a> tag, double-clicking on the
Robert Lyedc2aac2011-01-14 16:25:09 -0800809 <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element">
810 <code>&lt;include&gt;</code></a> element edits the referenced layout in the context of the
811 current layout. Additionally, when editing a layout that is included by other layouts,
812 you can quickly change between context layouts, by right clicking in the editor and choosing
813 <strong>Show included in...</strong>. This feature is only available in Honeycomb.</li>
814 </ul>
815 </li>
816 <li>This release fixes many other bugs, but the most important ones are listed below:
817 <ul>
818 <li>Fixed issue that prevented launching debug builds on productions devices when
Robert Ly6c81c302011-10-05 12:59:29 -0700819 <code>debuggable=true</code> was not set in the Android manifest.</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800820 <li>The LogCat view in DDMS properly handles UTF-8 characters.</li>
821 <li>The SDK Manager is more reliable on Windows
822 (<a href="http://tools.android.com/recent/sdkmanagerfixes">Details</a>).</li>
Robert Ly6c81c302011-10-05 12:59:29 -0700823 <li>A JUnit initialization bug that prevented you from working with JUnit tests was fixed
824 (Issue <a href="http://code.google.com/p/android/issues/detail?id=12411">12411</a>).</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800825 </ul>
826</li>
827 </ul>
828</dd>
829</dl>
830</div>
831</div>
832
833
834
835
836<div class="toggleable closed">
837 <a href="#" onclick="return toggleDiv(this)">
838 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
839width="9px" />
Scott Main92b03082010-12-14 17:55:27 -0800840ADT 8.0.1</a> <em>(December 2010)</em>
841 <div class="toggleme">
842
843<dl>
844
845<dt>Dependencies:</dt>
846
847<p><p>ADT 8.0.1 is designed for use with SDK Tools r8. If you haven't
848already installed SDK Tools r8 into your SDK, use the Android SDK and AVD Manager to do
849so.</p></dd>
850
851<dt>General notes:</dt>
852<dd>
853<ul>
854 <li>This is a quick follow-up to ADT 8.0.0 to fix some bugs.</li>
855 <li>Fixes an issue in which projects failed to compile, citing a dex error.</li>
856 <li>Better ProGuard error reporting when exporting applications for release.</li>
857</ul>
858<p>Also see the recent release notes for 8.0.0, below.</p>
859</dd>
860</dl>
Robert Lyedc2aac2011-01-14 16:25:09 -0800861</div>
Scott Main92b03082010-12-14 17:55:27 -0800862</div>
863
864
865<div class="toggleable closed">
866 <a href="#" onclick="return toggleDiv(this)">
867 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
868width="9px" />
Dirk Dougherty9f7580d2010-10-26 09:29:03 -0700869ADT 8.0.0</a> <em>(December 2010)</em>
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700870 <div class="toggleme">
871
Scott Mainc0c0c422010-11-05 15:23:36 -0700872<dl>
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700873
Scott Mainc0c0c422010-11-05 15:23:36 -0700874<dt>Dependencies:</dt>
875
Dirk Dougherty9f7580d2010-10-26 09:29:03 -0700876<p><p>ADT 8.0.0 is designed for use with SDK Tools r8. If you haven't
Scott Mainc0c0c422010-11-05 15:23:36 -0700877already installed SDK Tools r8 into your SDK, use the Android SDK and AVD Manager to do
878so.</p></dd>
879
880<dt>General notes:</dt>
881<dd>
882<ul>
883 <li>New version number scheme that follows the SDK Tools revision number. The major version
884number for your ADT plugin should now always match the revision number of your SDK Tools. For
885example, ADT 8.x is for SDK Tools r8.</li>
886 <li>Support for true debug build. You no longer need to change the value of the
887 <code>debuggable</code> attribute in the Android Manifest.
888 <p>Incremental builds automatically insert <code>debuggable="true"</code>, but if you perform
889 "export signed/unsigned application package", ADT does <em>not</em> insert it.
890 If you manually set <code>debuggable="true"</code> in the manifest file, then release builds will
891 actually create a debug build (it does not remove it if you placed it there).</p></li>
Scott Main60c4e032011-01-07 14:48:18 -0800892 <li>Automatic <a href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a> support in
893 release builds. For it to work, you need to have a <code>proguard.config</code>
894 property in the <code>default.properties</code> file that points to a ProGuard config file.</li>
Scott Mainc0c0c422010-11-05 15:23:36 -0700895 <li>Completely rewritten Visual Layout Editor. (This is still a work in progress.) Now includes:
896 <ul>
897 <li>Full drag and drop from palette to layout for all Layout classes.</li>
898 <li>Move widgets inside a Layout view, from one Layout view to another and from one layout file to another.</li>
899 <li>Contextual menu with enum/flag type properties.</li>
900 <li>New zoom controls.</li>
901 </ul></li>
902 <li>New HierarchyViewer plug-in integrated in Eclipse.</li>
903 <li>Android launch configurations don't recompile the whole workspace on launch anymore.</li>
904 <li><code>android.jar</code> source and javadoc location can now be configured.</li>
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700905</ul>
906</dd>
Scott Mainc0c0c422010-11-05 15:23:36 -0700907</dl>
908 </div>
909</div>
910
911
912<div class="toggleable closed">
913 <a href="#" onclick="return toggleDiv(this)">
914 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
915ADT 0.9.9</a> <em>(September 2010)</em>
916 <div class="toggleme">
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700917
918<dl>
919
920<dt>Dependencies:</dt>
921
922<dd><p>ADT 0.9.9 replaces ADT 0.9.8 and is designed for use with SDK Tools r7
923and later. ADT 0.9.9 includes the ADT 0.9.8 features as well as an important
924bugfix, so we recommend that you upgrade as soon as possible. If you haven't
925already installed SDK Tools r7 into your SDK, use the Android SDK Manager to do
926so.</p></dd>
927
928<dt>General notes:</dt>
929<dd>
930<ul>
931<li>Fixes a problem in project import, in which source files were deleted in some cases.</li>
932<li>Includes all other ADT 0.9.8 features (see below).</li>
933</ul>
934</dd>
935</dl>
936 </div>
937</div>
938
939<div class="toggleable closed">
940 <a href="#" onclick="return toggleDiv(this)">
941 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty74a74d32010-09-09 18:40:13 -0700942ADT 0.9.8</a> <em>(September 2010)</em>
Dirk Dougherty022171b2010-07-30 19:24:17 -0700943 <div class="toggleme">
944
945
946</ul>
947</dd>
948
949<dl>
950
951<dt>Dependencies:</dt>
952
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700953<dd><p>ADT 0.9.8 is now deprecated. Please use ADT 0.9.9 instead.</p></dd>
Dirk Dougherty022171b2010-07-30 19:24:17 -0700954
955<dt>General notes:</dt>
956<dd>
957<ul>
958<li>Adds a new Action, "Rename Application Package", to the Android Tools
959contextual menu. The Action does a full application package refactoring.
960<li>Adds support for library projects that don't have a source folder
961called <code>src/</code>. There is now support for any number of source folders,
962with no name restriction. They can even be in subfolder such as
963<code>src/java</code>. If you are already working with library projects created
Scott Main081127b2010-10-29 15:56:27 -0700964in ADT 0.9.7, see <a
Robert Lyc74a69a82011-01-04 22:48:02 -0800965href="{@docRoot}guide/developing/projects/index.html#libraryMigrating">Migrating
Dirk Dougherty022171b2010-07-30 19:24:17 -0700966library projects to ADT 0.9.8</a> for important information about moving
967to the new ADT environment.</li>
968<li>Adds support for library projects that depend on other library
969projects.</li>
970<li>Adds support for additional resource qualifiers:
971<code>car</code>/<code>desk</code>, <code>night</code>/<code>notnight</code> and
972<code>navexposed</code>/<code>navhidden</code>.</li>
973<li>Adds more device screen types in the layout editor. All screen
Scott Main081127b2010-10-29 15:56:27 -0700974resolution/density combinations listed in the <a
Dirk Dougherty022171b2010-07-30 19:24:17 -0700975href="{@docRoot}guide/practices/screens_support.html#range">Supporting
976Multiple Screens</a> are now available.</li>
977<li>Fixes problems with handling of library project names that
978contain characters that are incompatible with the Eclipse path variable.
979Now properly sets up the link between the main project and the library
980project.</li>
981</ul>
982</dd>
983</dl>
984 </div>
985</div>
986
987
988<div class="toggleable closed">
989 <a href="#" onclick="return toggleDiv(this)">
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700990 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Doughertyc7c7afd2010-05-24 09:07:14 -0700991ADT 0.9.7</a> <em>(May 2010)</em>
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700992 <div class="toggleme">
993
994<dl>
995<dt>Library projects:</dt>
996<dd>
997<p>The ADT Plugin now supports the use of <em>library projects</em> during
998development, a capability that lets you store shared Android application
999code and resources in a separate development project. You can then reference the
1000library project from other Android projects and, at build time, the tools
1001compile the shared code and resources as part of the dependent applications.
1002More information about this feature is available in the <a
Robert Lyc74a69a82011-01-04 22:48:02 -08001003href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document. </p>
Scott Main081127b2010-10-29 15:56:27 -07001004<p>If you are not developing in Eclipse, <a
1005href="tools-notes.html">SDK Tools r6</a> provides the equivalent library
Dirk Dougherty0d1b0812010-04-07 17:05:16 -07001006project support through the Ant build system.</p>
1007</dd>
1008</dl>
1009 </div>
1010</div>
1011
Dirk Dougherty022171b2010-07-30 19:24:17 -07001012
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001013<div class="toggleable closed">
1014 <a href="#" onclick="return toggleDiv(this)">
1015 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
1016ADT 0.9.6</a> <em>(March 2010)</em>
1017 <div class="toggleme">
1018
1019<dl>
1020<dt>Dependencies:</dt>
1021
Scott Main081127b2010-10-29 15:56:27 -07001022<dd><p>ADT 0.9.6 is designed for use with SDK Tools r5 and later. Before
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001023updating to ADT 0.9.6, we highly recommend that you use the Android SDK and
1024AVD Manager to install SDK Tools r5 into your SDK.</p></dd>
1025
1026<dt>General Notes:</dt>
1027<dd>
1028<ul>
1029<li>Editing <code>default.properties</code> outside of Eclipse will now
1030automatically update the project.</li>
1031<li>Loads the SDK content only when a project requires it. This will make
1032Eclipse use less resources when the SDK contains many versions of Android.</li>
1033<li>Resolves potential deadlock between modal dialogs, when launching ADT the
1034first time with the SDK Usage panel.</li>
1035<li>Fixes issues with the New Project Wizard when selecting samples.</li>
1036</ul>
1037</dd>
1038<dt>AVD/SDK Manager:</dt>
1039<dd>
1040<ul>
1041<li>Adds support for platform samples components.</li>
1042<li>Improves support for dependency between components.</li>
1043<li>AVDs now sorted by API level.</li>
1044<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
1045<li>Prevents deletion of running AVDs.</li>
1046</ul>
1047</dd>
1048<dt>DDMS:</dt>
1049<dd>
1050<ul>
1051<li>DDMS plug-in now contains the Allocation Tracker view.</li>
1052<li>New action in the Logcat view: "Go to problem" lets you go directly from an
1053exception trace output to the code.</li>
1054</ul>
1055</dd>
1056<dt>Editors:</dt>
1057<dd>
1058<ul>
1059<li>Explode mode in the Visual Layout Editor adds a margin to all layout objects
1060so that it's easier to see embedded or empty layouts.</li>
1061<li>Outline mode in the Visual Layout Editor draws layout outline to make it
1062easier to see layout objects.</li>
1063<li>Several fixes in the configuration selector of the Visual Layout
1064Editor.</li>
1065</ul>
1066</dd>
1067<dt>Application launching:</dt>
1068<dd>
1069<ul>
1070<li>Applications launched from ADT now behave as if they were clicked from the
1071Home screen.</li>
1072<li>Fixes issue where add-on with no optional library would not show up as valid
1073targets for application launches.</li>
1074<li>Resolves possible crash when launching applications.</li>
1075</ul>
1076</dd>
1077</dl>
1078 </div>
1079</div>
1080
1081<div class="toggleable closed">
1082 <a href="#" onclick="return toggleDiv(this)">
1083 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
1084ADT 0.9.5</a> <em>(December 2009)</em>
1085 <div class="toggleme">
1086<dl>
1087<dt>Dependencies:</dt>
1088
1089<dd><p>ADT 0.9.5 requires features provided in SDK Tools r4 or higher. If you install
1090ADT 0.9.5, which is highly recommended, you should use the Android SDK and AVD
Scott Main92b03082010-12-14 17:55:27 -08001091Manager to download the latest SDK Tools into your SDK. For more information,
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001092see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p>
1093</dd>
1094
Joe Fernandez890f7ea2011-11-28 17:00:27 -08001095<dt>General notes:</dt>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001096<dd>
1097<ul>
1098<li>AVD Launch dialog now shows scale value.</li>
1099<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no skin name specified.</li>
1100<li>Fixes XML validation issue in on older Java versions.</li>
1101<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
1102</ul>
1103</dd>
1104</dl>
1105 </div>
1106</div>
1107
1108<div class="toggleable closed">
1109 <a href="#" onclick="return toggleDiv(this)">
1110 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
1111ADT 0.9.4</a> <em>(October 2009)</em>
1112 <div class="toggleme">
1113<dl>
1114<dt>Dependencies:</dt>
1115
1116<dd><p>ADT 0.9.4 requires features provided in SDK Tools r3 or higher. If you install
1117ADT 0.9.4, which is highly recommended, you should use the Android SDK and AVD
1118Manager to download the latest SDK Tools into your SDK. For more information,
1119see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p>
1120</dd>
1121
1122<dt>Project Creation Wizard:</dt>
1123<dd>
1124<ul>
1125<li>New option to create a project from a sample by choosing it from a list.</li>
1126</ul>
1127</dd>
1128
1129<dt>Layout Editor:</dt>
1130<dd>
1131<ul>
1132<li>Improved Configuration selector that lets you see how your layout will
1133render on different devices. Default device descriptions include ADP1
1134and Google Ion, while SDK add-ons can also provide new descriptions.
1135A new UI allows you to create custom descriptions.</li>
1136<li>Adds a new clipping toggle, to let you see your full layout even if it's
1137bigger than the screen.</li>
1138</ul>
1139</dd>
1140
Joe Fernandez890f7ea2011-11-28 17:00:27 -08001141<dt>DDMS integration:</dt>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001142<dd>
1143<ul>
1144<li>Includes the improvements from the standlone DDMS, revision 3.</li>
1145<li>Adds an option to open HPROF files into eclipse instead of writing them on
Scott Main081127b2010-10-29 15:56:27 -07001146disk. If a profiler such as MAT (<a href="http://eclipse.org/mat">Memory Analyzer
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001147Tool</a>) is installed, it'll open the file.</li>
1148</ul>
1149</dd>
1150
1151<dt>Android SDK and AVD Manager integration:</dt>
1152<dd>
1153<ul>
Scott Main081127b2010-10-29 15:56:27 -07001154<li>Includes the improvements from the standalone Android SDK and AVD Manager,
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001155revision 3.</li>
1156</ul>
1157</dd>
1158</dl>
1159 </div>
1160</div>
1161
Scott Main77847a32010-11-09 16:41:32 -08001162
1163
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001164<h2 id="installing">Installing the ADT Plugin</h2>
1165
1166<p>The sections below provide instructions on how to download and install
1167ADT into your Eclipse environment. If you encounter problems, see the <a
1168href="#troubleshooting">Troubleshooting</a> section.</p>
1169
Scott Main77847a32010-11-09 16:41:32 -08001170
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001171<h3 id="preparing">Preparing Your Development Computer</h3>
1172
1173<p>ADT is a plugin for the Eclipse IDE. Before you can install or use ADT,
1174you must have a compatible version of Eclipse installed on your development
Robert Ly2a36cf42011-03-09 10:33:20 -08001175computer. Check the <a
1176href="requirements.html">System Requirements</a> document for
1177a list of Eclipse versions that are compatible with the Android SDK.</li></p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001178
1179<ul>
1180<li>If Eclipse is already installed on your computer, make sure that it is
Robert Ly6c81c302011-10-05 12:59:29 -07001181a version that is compatible with ADT and the Android SDK.
Robert Ly2a36cf42011-03-09 10:33:20 -08001182
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001183<li>If you need to install or update Eclipse, you can download it from this
1184location:
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001185
Dirk Dougherty22558d02009-12-10 16:25:06 -08001186<p style="margin-left:2em;"><a href=
1187"http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a>
1188</p>
1189
Robert Ly2a36cf42011-03-09 10:33:20 -08001190<p>The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP
Scott Main77847a32010-11-09 16:41:32 -08001191version of Eclipse is recommended.</p></li>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001192</ul>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001193
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001194<p>Additionally, before you can configure or use ADT, you must install the
1195Android SDK starter package, as described in <a
Robert Lyef13d022010-07-12 14:32:22 -07001196href="installing.html#Installing">Downloading the SDK Starter Package</a>.
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001197Specifically, you need to install a compatible version of the Android SDK Tools
1198and at least one development platform. To simplify ADT setup, we recommend
1199installing the Android SDK prior to installing ADT. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001200
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001201<p>When your Eclipse and Android SDK environments are ready, continue with the
1202ADT installation as described in the steps below. </p>
1203
1204<h3 id="downloading">Downloading the ADT Plugin</h3>
1205
Robert Ly2a36cf42011-03-09 10:33:20 -08001206<p>Use the Update Manager feature of your Eclipse installation to install the latest
Scott Mainb86cba12012-01-30 23:56:53 -08001207revision of ADT on your development computer.</p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001208
1209<p>Assuming that you have a compatible version of the Eclipse IDE installed, as
1210described in <a href="#preparing">Preparing for Installation</a>, above, follow
1211these steps to download the ADT plugin and install it in your Eclipse
Robert Ly2a36cf42011-03-09 10:33:20 -08001212environment.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001213
Robert Ly2a36cf42011-03-09 10:33:20 -08001214
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001215<ol>
Scott Main77847a32010-11-09 16:41:32 -08001216 <li>Start Eclipse, then select <strong>Help</strong> &gt; <strong>Install New
1217Software...</strong>.</li>
1218 <li>Click <strong>Add</strong>, in the top-right corner.</li>
1219 <li>In the Add Repository dialog that appears, enter "ADT Plugin" for the <em>Name</em> and the
1220following URL for the <em>Location</em>:
1221 <pre>https://dl-ssl.google.com/android/eclipse/</pre>
Bill Gruber604917b2011-04-04 12:11:49 -07001222 </li>
1223 <li>Click <strong>OK</strong>
1224 <p>Note: If you have trouble acquiring the plugin, try using "http" in the Location URL,
1225instead of "https" (https is preferred for security reasons).</p></li>
1226 <li>In the Available Software dialog, select the checkbox next to Developer Tools and click
1227<strong>Next</strong>.</li>
Scott Main77847a32010-11-09 16:41:32 -08001228 <li>In the next window, you'll see a list of the tools to be downloaded. Click
1229<strong>Next</strong>. </li>
Bill Gruber604917b2011-04-04 12:11:49 -07001230 <li>Read and accept the license agreements, then click <strong>Finish</strong>.
1231 <p>Note: If you get a security warning saying that the authenticity or validity of
1232the software can't be established, click <strong>OK</strong>.</p></li>
Scott Main77847a32010-11-09 16:41:32 -08001233 <li>When the installation completes, restart Eclipse. </li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001234</ol>
1235
Scott Main369c1c12010-12-07 11:17:00 -08001236<h3 id="configuring">Configuring the ADT Plugin</h3>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001237
Bill Gruber604917b2011-04-04 12:11:49 -07001238<p>After you've successfully downloaded the ADT as described above, the next step
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001239is to modify your ADT preferences in Eclipse to point to the Android SDK directory:</p>
1240
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001241<ol>
1242 <li>Select <strong>Window</strong> &gt; <strong>Preferences...</strong> to open the Preferences
1243 panel (Mac OS X: <strong>Eclipse</strong> &gt; <strong>Preferences</strong>).</li>
Bill Gruber604917b2011-04-04 12:11:49 -07001244 <li>Select <strong>Android</strong> from the left panel.</li>
1245 <p>You may see a dialog asking whether you want to send usage statistics to Google. If so,
1246make your choice and click <strong>Proceed</strong>. You cannot continue with this procedure until
1247you click <strong>Proceed</strong>.</p>
Scott Main081127b2010-10-29 15:56:27 -07001248 <li>For the <em>SDK Location</em> in the main panel, click <strong>Browse...</strong> and
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001249 locate your downloaded SDK directory. </li>
1250 <li>Click <strong>Apply</strong>, then <strong>OK</strong>.</li>
1251</ol>
1252
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001253<p>Done! If you haven't encountered any problems, then the installation is
Scott Main081127b2010-10-29 15:56:27 -07001254complete. If you're installing the Android SDK for the first time, return to <a
1255href="{@docRoot}sdk/installing.html#InstallingADT">Installing the SDK</a> to complete your setup.
1256</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001257
1258
1259<h3 id="troubleshooting">Troubleshooting ADT Installation</h3>
1260
1261<p> If you are having trouble downloading the ADT plugin after following the
1262steps above, here are some suggestions: </p>
1263
1264<ul>
1265 <li>If Eclipse can not find the remote update site containing the ADT plugin,
1266try changing the remote site URL to use http, rather than https. That is, set
1267the Location for the remote site to:
Scott Main081127b2010-10-29 15:56:27 -07001268<pre>http://dl-ssl.google.com/android/eclipse/</pre></li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001269<li>If you are behind a firewall (such as a corporate firewall), make sure that
Scott Main77847a32010-11-09 16:41:32 -08001270you have properly configured your proxy settings in Eclipse. In Eclipse,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001271you can configure proxy information from the main Eclipse menu in
1272<strong>Window</strong> (on Mac OS X, <strong>Eclipse</strong>) &gt;
1273<strong>Preferences</strong> &gt; <strong>General</strong> &gt; <strong>Network
1274Connections</strong>.</li>
1275</ul>
1276
1277<p> If you are still unable to use Eclipse to download the ADT plugin as a
1278remote update site, you can download the ADT zip file to your local machine and
1279manually install it:</p>
1280
1281<ol>
1282 <li>Download the current ADT Plugin zip file from the table below (do not unpack it).
1283
1284 <table class="download">
1285 <tr>
1286 <th>Name</th>
1287 <th>Package</th>
1288 <th>Size</th>
1289 <th>MD5 Checksum</th>
1290 </tr>
1291 <tr>
1292 <td>ADT {@adtZipVersion}</td>
1293 <td>
1294 <a href="http://dl.google.com/android/{@adtZipDownload}">{@adtZipDownload}</a>
1295 </td>
1296 <td>{@adtZipBytes} bytes</td>
1297 <td>{@adtZipChecksum}</td>
1298 </tr>
1299</table>
1300</li>
1301
1302</li>
Scott Main081127b2010-10-29 15:56:27 -07001303 <li>Follow steps 1 and 2 in the <a href="#installing">default install
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001304 instructions</a> (above).</li>
1305 <li>In the Add Site dialog, click <strong>Archive</strong>.</li>
1306 <li>Browse and select the downloaded zip file.</li>
Scott Main77847a32010-11-09 16:41:32 -08001307 <li>Enter a name for the local update site (e.g.,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001308 "Android Plugin") in the "Name" field.</li>
1309 <li>Click <strong>OK</strong>.
Scott Main081127b2010-10-29 15:56:27 -07001310 <li>Follow the remaining procedures as listed for
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001311 <a href="#installing">default installation</a> above,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001312 starting from step 4.</li>
1313</ol>
1314
1315<p>To update your plugin once you've installed using the zip file, you will have
1316to follow these steps again instead of the default update instructions.</p>
1317
1318<h4>Other install errors</h4>
1319
Scott Main081127b2010-10-29 15:56:27 -07001320<p>Note that there are features of ADT that require some optional
1321Eclipse components (for example, WST). If you encounter an error when
1322installing ADT, your Eclipse installion might not include these components.
1323For information about how to quickly add the necessary components to your
1324Eclipse installation, see the troubleshooting topic
1325<a href="{@docRoot}resources/faq/troubleshooting.html#installeclipsecomponents">ADT
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001326Installation Error: "requires plug-in org.eclipse.wst.sse.ui"</a>.</p>
1327
1328<h4>For Linux users</h4>
Scott Main081127b2010-10-29 15:56:27 -07001329<p>If you encounter this error when installing the ADT Plugin for Eclipse:
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001330<pre>
1331An error occurred during provisioning.
1332Cannot connect to keystore.
1333JKS</pre>
1334<p>
1335...then your development machine lacks a suitable Java VM. Installing Sun
1336Java 6 will resolve this issue and you can then reinstall the ADT
1337Plugin.</p>
1338
1339
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001340<h2 id="updating">Updating the ADT Plugin</h2>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001341
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001342<p>From time to time, a new revision of the ADT Plugin becomes available, with
1343new features and bug fixes. Generally, when a new revision of ADT is available,
1344you should update to it as soon as convenient. </p>
1345
1346<p>In some cases, a new revision of ADT will have a dependency on a specific
1347revision of the Android SDK Tools. If such dependencies exist, you will need to
1348update the SDK Tools component of the SDK after installing the new revision of
1349ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as
1350described in <a href="adding-components.html">Adding SDK Components</a>.</p>
1351
1352<p>To learn about new features of each ADT revision and also any dependencies on
1353the SDK Tools, see the listings in the <a href="#notes">Revisions</a>
Scott Main081127b2010-10-29 15:56:27 -07001354section. To determine the version currently installed, open the
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001355Eclipse Installed Software window using <strong>Help</strong>
Scott Main081127b2010-10-29 15:56:27 -07001356&gt; <strong>Software Updates</strong> and refer to the version listed for
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001357"Android Development Tools".</p>
1358
Scott Main081127b2010-10-29 15:56:27 -07001359<p>Follow the steps below to check whether an update is available and, if so,
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001360to install it. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001361
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001362<ol>
Scott Main77847a32010-11-09 16:41:32 -08001363 <li>Select <strong>Help</strong> &gt; <strong>Check for Updates</strong>.
1364 <p>If there are no updates available, a dialog will say so and you're done.</p></li>
1365 <li>If there are updates available, select Android DDMS, Android Development Tools,
1366 and Android Hierarchy Viewer, then click <strong>Next</strong>.</li>
1367 <li>In the Update Details dialog, click <strong>Next</strong>.</li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001368 <li>Read and accept the license agreement and then click <strong>Finish</strong>.
Scott Main081127b2010-10-29 15:56:27 -07001369 This will download and install the latest version of Android DDMS and
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001370 Android Development Tools.</li>
1371 <li>Restart Eclipse.</li>
1372</ol>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001373
1374
Scott Main090a3dc2010-12-07 10:38:55 -08001375<p>If you encounter problems during the update, remove the existing ADT plugin from Eclipse, then
1376perform a fresh installation, using the instructions for <a href="#installing">Installing the ADT
1377Plugin</a>.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001378