blob: e117118b8d040f4fad420a39683200d822e135a1 [file] [log] [blame]
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001page.title=ADT Plugin for Eclipse
Joe Fernandezeae02e62012-03-26 11:50:13 -07002adt.zip.version=18.0.0
3adt.zip.download=ADT-18.0.0.zip
4adt.zip.bytes=12834793
5adt.zip.checksum=b446fa157ed97af79d1e21629201efbb
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
Scott Maina7b1b8c2012-03-14 17:16:11 -070039projects, create an application UI, add packages 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
Joe Fernandezeae02e62012-03-26 11:50:13 -0700111
Dirk Dougherty0d1b0812010-04-07 17:05:16 -0700112<div class="toggleable opened">
113 <a href="#" onclick="return toggleDiv(this)">
Scott Main92b03082010-12-14 17:55:27 -0800114 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
115width="9px" />
Joe Fernandezeae02e62012-03-26 11:50:13 -0700116ADT 18.0.0</a> <em>(April 2012)</em>
117 <div class="toggleme">
118<dl>
119 <dt>Dependencies:</dt>
120
121 <dd>
122 <ul>
123 <li>Java 1.6 or higher is required for ADT 18.0.0.</li>
124 <li>Eclipse Helios (Version 3.6.2) or higher is required for ADT 18.0.0.</li>
125 <li>ADT 18.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools
126 r18</a>. If you haven't already installed SDK Tools r18 into your SDK, use the Android SDK
127 Manager to do so.</li>
128 </ul>
129 </dd>
130
131 <dt>Bug fixes:</dt>
132 <dd>
133 <ul>
134 <li>Fixed problem where exporting release package does not recompile libraries in release
135 mode.
136 (<a href="http://code.google.com/p/android/issues/detail?id=27940">Issue 27940</a>)</li>
137 </ul>
138 </dd>
139
140</dl>
141
142</div>
143</div>
144
145
146<div class="toggleable closed">
147 <a href="#" onclick="return toggleDiv(this)">
148 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
149width="9px" />
Joe Fernandezdad557e2012-03-16 01:17:58 -0700150ADT 17.0.0</a> <em>(March 2012)</em>
151 <div class="toggleme">
152<dl>
153 <dt>Dependencies:</dt>
154
155 <dd>
156 <ul>
157 <li>Java 1.6 or higher is required for ADT 17.0.0.</li>
158 <li>Eclipse Helios (Version 3.6.2) or higher is required for ADT 17.0.0.</li>
159 <li>ADT 17.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools
160 r17</a>. If you haven't already installed SDK Tools r17 into your SDK, use the Android SDK
161 Manager to do so.</li>
162 </ul>
163 </dd>
164
165 <dt>General improvements:</dt>
166 <dd>
167 <ul>
168 <li>New build features
169 <ul>
170 <li>Added feature to automatically setup JAR dependencies. Any {@code .jar} files in the
171 {@code /libs} folder are added to the build configuration (similar to how the Ant build
172 system works). Also, {@code .jar} files needed by library projects are also automatically
Joe Fernandez1e72b342012-03-21 16:25:21 -0700173 added to projects that depend on those library projects.
174 (<a href="http://tools.android.com/recent/dealingwithdependenciesinandroidprojects">more
175 info</a>)</li>
Joe Fernandezdad557e2012-03-16 01:17:58 -0700176 <li>Added a feature that allows you to run some code only in debug mode. Builds now
177generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is
178automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG})
179constant in your code to run debug-only functions.</li>
180 <li>Added support for custom views with custom attributes in libraries. Layouts using
181custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead
182of the URI that includes the app package name. This URI is replaced with the app specific one at
183build time.</li>
184 </ul>
185 </li>
186 <li>Improved Lint features. See the <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r17</a>
187release notes.</li>
188 <li>Improved the Lint user interface
189 <ul>
190 <li>Added <strong>Run Lint</strong> toolbar action with a dropdown menu for selecting
191specific (or all) projects, clearing results and other actions.</li>
192 <li>Updated the results window to be organized as a tree rather than a flat list. Each
193issue type has a single top level item, which makes it easier to quickly scan through the reported
194issues and narrow down to the issues you are most interested in.</li>
195 <li>Added many new toolbar actions to the results window, including expand/collapse,
196ignore in file, ignore in project, ignore everywhere, show options, and configure columns.</li>
197 <li>Added new column options for the <strong>Lint Warnings</strong> tab, such as
198category, priority, project, file and line. The column selection (as well as the column sizes) are
199persisted. You can also click on columns to sort by those values.</li>
200 <li>Added Enable All and Disable All buttons to the Lint Options dialog, and a search
201filter textbox to filter by issue id, summary and severity.</li>
202 </ul>
203 </li>
204 <li>Added Quick Outline for XML editors (Ctrl-O, Command-O). This feature shows the structure
205of the current file including icons and ids, lets you filter and quickly jump to specific ids.</li>
206 <li>Updated the resource chooser to shows the resolved value for resources. For example,
207when selecting {@code @string/hello} the chooser displays a resolved value such as "Hello World").
208The resource chooser also now allows you to edit the chosen value directly.</li>
209 <li>Updated Layout Editor so that it does not assign default ids to layouts, includes and
210merge tags. This behavior tended to pollute the namespace with a lot of unused resources since
211layouts are not usually manipulated via code, or referenced from XML. (The RelativeLayout editor
212automatically assigns ids to views without ids when pointing to them.)</li>
213 <li>Added ability to export screenshots from the Layout Editor</li>
214 </ul>
215 </dd>
216
217 <dt>Bug fixes:</dt>
218 <dd>
219 <ul>
220 <li>Fixed problem using Layout Editor with {@link android.widget.SlidingDrawer} which could
221 not be dragged into the layout on some platforms.</li>
222 <li>Fixed preview rendering for {@link android.widget.SlidingDrawer} and
223 {@link android.widget.TabHost}.
224 (<a href="http://code.google.com/p/android/issues/detail?id=23022">Issue 23022</a>).</li>
225 <li>Fixed issues that could prevent layout rendering due to unresolvable resources.
226 (<a href="http://code.google.com/p/android/issues/detail?id=21046">Issue 21046</a>,
227 <a href="http://code.google.com/p/android/issues/detail?id=21051">Issue 21051</a>)</li>
228 <li>Fixed a bug in resource chooser which made some types of framework resources impossible to
229select. (<a href="http://code.google.com/p/android/issues/detail?id=20589">Issue 20589</a>)</li>
230 <li>Fixed a bug in the formatter where a certain whitespace pattern could result in a
231 non-space character getting deleted.
232 (<a href="http://code.google.com/p/android/issues/detail?id=23940">Issue 23940</a>)</li>
233 <li>Fixed a locale bug affecting Turkish locales in particular.
234 (<a href="http://code.google.com/p/android/issues/detail?id=23747">Issue 23747</a>)</li>
235 <li>Fixed issue where dex complains about duplicate classes in cases where a Library
236 Project depends on the same jar files or Java-only projects.</li>
237 <li>Fixed issue where test projects had to independently reference the library projects used
238 by an app project. Now referencing only the app project is enough.</li>
239 </ul>
240 </dd>
241
242</dl>
243
244</div>
245</div>
246
247<div class="toggleable closed">
248 <a href="#" onclick="return toggleDiv(this)">
249 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
250width="9px" />
Joe Fernandeze4f20312011-12-15 13:23:53 -0800251ADT 16.0.1</a> <em>(December 2011)</em>
252 <div class="toggleme">
253<dl>
254 <dt>Dependencies:</dt>
255
256 <dd>
257 <ul>
258 <li>Eclipse Helios (Version 3.6) or higher is required for ADT 16.0.1.</li>
259 <li>ADT 16.0.1 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools
260 r16</a>. If you haven't already installed SDK Tools r16 into your SDK, use the Android SDK
261 Manager to do so.</li>
262 </ul>
263 </dd>
264
265 <dt>Bug fixes:</dt>
266 <dd>
267 <ul>
268 <li>Fixed build issue where the 9-patch could be packaged as normal bitmap in some cases.</li>
269 <li>Fixed minor issues in the <a href="http://tools.android.com/recent/lint">Lint</a>
270 tool.</li>
271 <li>Fixed minor issues in the SDK Manager.</li>
272 </ul>
273 </dd>
274</dl>
275
276</div>
277</div>
278
279
280<div class="toggleable closed">
281 <a href="#" onclick="return toggleDiv(this)">
282 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
283width="9px" />
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800284ADT 16.0.0</a> <em>(December 2011)</em>
285 <div class="toggleme">
286<dl>
287 <dt>Dependencies:</dt>
288
289 <dd>
290 <ul>
291 <li>Eclipse Helios (Version 3.6) or higher is required for ADT
29216.0.0.</li>
293 <li>ADT 16.0.0 is designed for use with <a
294href="{@docRoot}sdk/tools-notes.html">SDK Tools r16</a>. If you haven't already installed SDK Tools
295r16 into your SDK, use the Android SDK Manager to do so.</li>
296 </ul>
297 </dd>
298
299 <dt>General improvements:</dt>
300 <dd>
301 <ul>
Joe Fernandeze4f20312011-12-15 13:23:53 -0800302 <li>Added Lint tool to detect common errors in Android projects. (<a
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800303href="http://tools.android.com/recent/lint">more info</a>)</li>
304 </ul>
305 </dd>
306</dl>
307
308</div>
309</div>
310
311
312<div class="toggleable closed">
313 <a href="#" onclick="return toggleDiv(this)">
314 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
315width="9px" />
Robert Ly8c703962011-11-11 16:40:29 -0800316ADT 15.0.1</a> <em>(November 2011)</em>
317 <div class="toggleme">
318<dl>
319 <dt>Dependencies:</dt>
Joe Fernandezdad557e2012-03-16 01:17:58 -0700320
Robert Ly8c703962011-11-11 16:40:29 -0800321 <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 -0800322 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 -0800323 do so.</dd>
Joe Fernandezdad557e2012-03-16 01:17:58 -0700324
Robert Ly8c703962011-11-11 16:40:29 -0800325 <dt>Bug fixes:</dt>
326 <dd>
327 <ul>
328 <li>Fixed how source files are attached to library project <code>.jar</code> files.</li>
329 <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>
330 <li>Fixed how a parent project's library container is updated when a library project is recompiled. This ensures that parent projects are
331 recompiled when code in a library project changes.</li>
332 <li>Fixed how <code>res/</code> folders are checked in library projects. This ensures that all <code>res</code> folders are properly included
333 even if Eclipse is not aware of them due to refresh issues.</li>
334 <li>Fixed issue that prevented <code>aapt</code> from running when editing certain XML files.</li>
335 <li>Fixed minor XML formatting issues.</li>
336 </ul>
337 </dd>
338</dl>
339
340</div>
341</div>
342
343
344
345<div class="toggleable closed">
346 <a href="#" onclick="return toggleDiv(this)">
347 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
348width="9px" />
Robert Ly490463f2011-10-24 11:06:36 -0700349ADT 15.0.0</a> <em>(October 2011)</em>
350 <div class="toggleme">
351<dl>
352
353<dt>Dependencies:</dt>
354
355<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 -0800356If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK Manager to
Robert Ly490463f2011-10-24 11:06:36 -0700357do so.</dd>
358
359<dt>Bug fixes:</dt>
360<dd>
361<ul>
362 <li>Fixed build issue when using Renderscript in projects that target API levels 11-13
363 (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li>
364 <li>Fixed issue when creating projects from existing source code.</li>
365 <li>Fixed issues in the SDK Manager
366 (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>,
367 <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li>
368 <li>Fixed scrolling issue in the new Logcat panel of DDMS.</li>
369</ul>
370</dd>
371</dl>
372
373</div>
374</div>
375
376<div class="toggleable closed">
377 <a href="#" onclick="return toggleDiv(this)">
378 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
379width="9px" />
Robert Ly6c81c302011-10-05 12:59:29 -0700380ADT 14.0.0</a> <em>(October 2011)</em>
381 <div class="toggleme">
382<dl>
383
384<dt>Dependencies:</dt>
385
386<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 -0800387If you haven't already installed SDK Tools r14 into your SDK, use the Android SDK Manager to
Robert Ly6c81c302011-10-05 12:59:29 -0700388do so.</dd>
389
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800390<dt>Build system:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700391<dd>
392 <ul>
393 <li>Changed <code>default.properties</code> to <code>project.properties</code> and
394 <code>build.properties</code> to <code>ant.properties</code>. ADT automatically
395 renames these files, if necessary, when you open a project in Eclipse.</li>
396 <li>Changed how library projects are built in Eclipse.</a></li>
397 <li>Changed output of <code>javac</code> from <code>bin/</code> to <code>bin/classes</code>
398 in Eclipse.</li>
399 <li>Improved incremental builds so that resource compilation runs less frequently. Builds no
400 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer
401 run once for each library project.</li>
402 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of
403 crunching all existing PNG files, all the time.</li>
404 <li>Modified resource compilation so it no longer happens for normal save operations. It only
405 happens when running or debugging (the build option that lets you disable the packaging
406 step, which was introduced in ADT 12, is now on by default.)</li>
407 </ul>
408<p>For a complete overview of the build system changes and what you need to do to support them,
409see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project
410site</a>.</p>
411</dd>
412
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800413<dt>General improvements:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700414<dd>
415 <ul>
416
417
418<li>Added a Welcome Wizard to help with the initial setup of the Android
419development environment (<a href="http://tools.android.com/recent/welcomewizard">more
420info</a>).</li>
421<li>Integrated the Android Asset Studio, which helps you create icons for things
422like the launcher, menus, and tabs. (<a
423href="http://tools.android.com/recent/assetstudiointegration">more
424info</a>).</li>
425<li>Revamped the Logcat view and added support to display and filter logs by
426 application names as well as PIDs (<a
427 href="http://tools.android.com/recent/updatedlogcatviewer">more info</a>).</li>
428<li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more
429info</a>).</li>
430<li>Revamped the New Project and the New XML File wizards to have
431multiple pages. Sample projects are now copied into the workspace such that they can be modified
432and deleted without affecting the master copy
433(<a href="http://tools.android.com/recent/revampedwizards">more info</a>).</li>
434<li>Removed the dependency on Eclipse GEF.</li>
435</ul>
436</dd>
437
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800438<dt>XML and Java editors:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700439<dd>
440 <ul>
441 <li>Added a new XML formatter that formats all XML files according to the
442 standard Android coding style. The formatter can also reorder
443 attributes to follow a recommended order and processes any changes made in the Layout editor.
444(<a href="http://tools.android.com/recent/xmlformatter">more info</a>).</li>
445 <li>Added the "Go to Matching" (Ctrl-Shift-P) feature, which lets you jump
446between opening and closing tags in XML files.</li>
447 <li>Added support for the "Select Enclosing Element" feature on Mac.</li>
448 <li>Added a Quickfix for extracting Strings when the caret is inside a String (<a href="">see
449more</a>).</li>
450 <li>Improved "smart indent", which allows automatic indentation and un-indentation
451 when pressing the Return key in XML editors (<a
452href="http://tools.android.com/recent/xmleditingimprovements">more info</a>).</li>
453
454 </ul>
455</dd>
456
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800457<dt>Layout editor:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700458<dd>
459 <ul>
460 <li>Added tooltip feedback for dragging and resizing operations. For
461 example, when dragging in a relative layout, the proposed
462 constraints are shown. When resizing, the new dimensions are
463 shown (<a href="http://tools.android.com/recent/layouteditorfeedbacktooltips">more
464info</a>).</li>
465 <li>Added the ability to suppress rendering fidelity warnings (<a
466href="http://tools.android.com/recent/suppressrenderwarnings">more info</a>).</li>
467 <li>Added "Remove Container" visual refactoring that removes the
468 children of a container up to the top level and transfers
469 namespace and layout attributes if necessary (<a
470href="http://tools.android.com/recent/removecontainervisualrefactoring">more info</a>).</li>
471 <li>Added pull-right menus to the context menu for accessing
472 properties of the parents, which is useful when the children fully
473 cover the parent and make it hard to select on their own.</li>
474 <li>Improved access to properties in the context menu. The most
475 frequently set attributes for each view are listed at the top of
476 the menu. The Properties menu offers access to the most
477 recently set attributes, attributes organized by their defining
478 view, and layout attributes only or all attributes alphabetically (<a
479href="http://tools.android.com/recent/layouteditorcontextmenuimprovements">more info</a>).</li>
480 </ul>
481</dd>
482
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800483<dt>Bug fixes:</dt>
Robert Ly6c81c302011-10-05 12:59:29 -0700484<dd>Fixed many bugs and added <a
485href="http://tools.android.com/recent/miscellaneousrecentfixes">minor improvements</a>, in
486particular some <a href="http://tools.android.com/recent/linuxfixes">critical bug fixes on
487Linux</a>.</dd>
488
489</div>
490</div>
491
492
493
494<div class="toggleable closed">
495 <a href="#" onclick="return toggleDiv(this)">
496 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
497width="9px" />
Robert Ly31ee77e2011-07-06 11:16:19 -0700498ADT 12.0.0</a> <em>(July 2011)</em>
Robert Ly205d1c32011-06-28 13:13:14 -0700499 <div class="toggleme">
500<dl>
501
502<dt>Dependencies:</dt>
503
504<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
505already installed SDK Tools r12 into your SDK, use
Scott Maina7b1b8c2012-03-14 17:16:11 -0700506the Android SDK Manager to do so.</dd>
Robert Ly205d1c32011-06-28 13:13:14 -0700507
508<dt>Visual Layout Editor:</dt>
509<dd>
510<ul>
511 <li>New RelativeLayout drop support with guideline suggestions for
512 attachments and cycle prevention
513 (<a href="http://tools.android.com/recent/revampedrelativelayoutsupport">more info</a>).</li>
514 <li>Resize support in most layouts along with
515 guideline snapping to the sizes dictated by <code>wrap_content</code> and <code>match_parent</code>.
516 In LinearLayout, sizes are mapped to weights instead of pixel widths.
517 (<a href="http://tools.android.com/recent/resizesupport">more info</a>).</li>
518 <li>Previews of drawables and colors in the resource chooser dialogs
519 (<a href="http://tools.android.com/recent/imageandcolorpreviews">more info</a>).</li>
520 <li>Improved error messages and links for rendering errors including
521 detection of misspelled class names
522 (<a href="http://tools.android.com/recent/improvedrenderingerrordiagnostics">more info</a>).</li>
523</ul>
524</dd>
525
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800526<dt>Build system:</dt>
Robert Ly205d1c32011-06-28 13:13:14 -0700527<dd>
528<ul>
Robert Ly6c81c302011-10-05 12:59:29 -0700529 <li id="build-option">A new option lets you disable the packaging step in the automatic
Robert Ly205d1c32011-06-28 13:13:14 -0700530 builders. This improves performance when saving files by not
531 performing a full build, which can take a long time for large projects.
532 If the option is enabled, the APK is packaged when the
533 application is deployed to a device or emulator or when the
534 release APK is exported (<a href="http://tools.android.com/recent/finercontroloveradtbuildprocess">more info</a>).</li>
535</ul>
536</dd>
537
Joe Fernandez890f7ea2011-11-28 17:00:27 -0800538<dt>Bug fixes:</dt>
Robert Ly205d1c32011-06-28 13:13:14 -0700539<dd>Many bug fixes are part of this release
540(<a href="http://tools.android.com/recent/adt12bugfixroundup">more info</a>).</dd>
541
542</div>
543</div>
544
545
546<div class="toggleable closed">
547 <a href="#" onclick="return toggleDiv(this)">
548 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
549width="9px" />
Scott Main25d0b9f2011-05-26 14:12:54 -0700550ADT 11.0.0</a> <em>(June 2011)</em>
Robert Ly205d1c32011-06-28 13:13:14 -0700551 <div class="toggleme">
Scott Main25d0b9f2011-05-26 14:12:54 -0700552
553<dl>
554
555<dt>Dependencies:</dt>
556
557<dd>ADT 11.0.0 is designed for use with SDK Tools r11. If you haven't
Scott Maina7b1b8c2012-03-14 17:16:11 -0700558already installed SDK Tools r11 into your SDK, use the Android SDK Manager to do
Scott Main25d0b9f2011-05-26 14:12:54 -0700559so.</dd>
560
561<dt>Visual Refactoring:</dt>
562<dd>
563 <ul>
564 <li>"Extract Style" feature pulls out style-related attributes from your layout and extracts
565them as a new style defined in {@code styles.xml} (<a
566href="http://tools.android.com/recent/extractstylerefactoring">more info</a>).</li>
567 <li>"Wrap in Container" feature lets you select a group of views then surround them
568 in a new layout (a new view group, such as a LinearLayout), and transfers namespace and layout
569 parameters to the new parent (<a
570href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
571info</a>).</li>
572 <li>"Change Layout" feature changes layouts from one type
573 to another, and can also flatten a layout hierarchy (<a
574href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
575info</a>).</li>
576 <li>"Change Widget Type" feature changes the type of the
577 selected views to a new type. Also, a new selection context menu
578 in the visual layout editor makes it easy to select siblings as
579 well as views anywhere in the layout that have the same type (<a
580href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
581info</a>).</li>
582 <li>"Extract as Include" feature finds identical collections of views
583 in other layouts and offers to combine them into a single layout that you can then include in
584 each layout (<a
585href="http://tools.android.com/recent/extractasincludeimprovements">more info</a>).</li>
586 <li>Quick Assistant in Eclipse can be invoked
587 from the XML editor (with Ctrl-1) to apply any of the above
588 refactorings (and Extract String) to the current selection (<a
589href="http://tools.android.com/recent/refactoringquickassistant">more info</a>).</li>
590 </ul>
591</dd>
592
593<dt>Visual Layout Editor:</dt>
594<dd>
595 <ul>
596 <li>This is the update to the layout editor you've been waiting for! It includes (almost) all
597the goodies demonstrated at Google I/O. <a href="http://www.youtube.com/watch?v=Oq05KqjXTvs">Watch
598the video</a> on YouTube.</li>
599 <li>The palette now supports different configurations for supported widgets. That is, a single
600view is presented in various different configurations that you can drag into your layout. For
601example, there is a <em>Text Fields</em> palette category where you can drag an {@link
602android.widget.EditText} widget in as a password field, an e-mail field, a phone field, or other
603types of text boxes. Similarly, {@link android.widget.TextView} widgets are preconfigured
604with large, normal and small theme sizes, and {@link android.widget.LinearLayout} elements are
605preconfigured in horizontal and vertical configurations (<a
606href="http://tools.android.com/recent/multipletextfieldandlayouttypes">more info</a>).</li>
607 <li>The palette supports custom views. You can pick up any custom
608 implementations of the View class you've created in your project or from included libraries and
609drag them into your layout (<a
610href="http://tools.android.com/recent/customviewsinthepalette">more info</a>).</li>
611 <li>Fragments are available in the palette for placement in your layout. In the tool, you can
612choose which layout to show rendered for a given fragment tag. Go to declaration works for fragment
Robert Ly6c81c302011-10-05 12:59:29 -0700613classes (<a href="http://tools.android.com/recent/fragmentsupport">more info</a>).</li>
Scott Main25d0b9f2011-05-26 14:12:54 -0700614 <li>The layout editor automatically applies a "zoom to fit" for newly
615 opened files as well as on device size and orientation changes to
616 ensure that large layouts are always fully visible unless you
617 manually zoom in.</li>
618 <li>You can drop in an {@code &lt;include&gt;} element from the palette, which will pop up
619 a layout chooser. When you select the layout to include, it is added with an {@code
620&lt;include&gt;}. Similarly, dropping images or image buttons will pop up image
621 resource choosers (<a
622href="http://tools.android.com/recent/includetagdropsupport">more info</a>).</li>
623 <li>The configuration chooser now applies the "Render Target" and
624 "Locale" settings project wide, making it trivial to check the
625 layouts for different languages or render targets without having
626 to configure these individually for each layout.</li>
627 <li>The layout editor is smarter about picking a default theme to
628 render a layout with, consulting factors like theme registrations
629 in the manifest, the SDK version, and other factors.</li>
630 <li>The layout editor is smarter about picking a default configuration to render a layout
631with, defaulting to the currently visible configuration in the previous file. It also considers the
632SDK target to determine whether to default to a tablet or phone screen size.</li>
633 <li>Basic focus support. The first text field dropped in a layout is assigned focus, and there
634are <strong>Request Focus</strong> and <strong>Clear Focus</strong> context menu items on text
635fields to change the focus.</li>
636 </ul>
637</dd>
638
639<dt>XML editors:</dt>
640<dd>
Robert Ly6c81c302011-10-05 12:59:29 -0700641<ul>
Scott Main25d0b9f2011-05-26 14:12:54 -0700642 <li>Code completion has been significantly improved. It now works
643 with {@code &lt;style&gt;} elements, completes dimensional units,
644 sorts resource paths in values based on the attribute name, and more. There are also many fixes to
645handle text replacement (<a
646href="http://tools.android.com/recent/xmlcodecompletionimprovements">more info</a>).</li>
647 <li>AAPT errors are handled better. They are now underlined for the
648 relevant range in the editor, and a new quickfix makes it trivial
649 to create missing resources.</li>
650 <li>Code completion for drawable, animation and color XML files (<a
651href="http://tools.android.com/recent/codecompletionfordrawablescolorsandanimationfiles">more
652info</a>).</li>
653</ul>
654</dd>
655
656<dt>DDMS:</dt>
657<dd>
Robert Ly6c81c302011-10-05 12:59:29 -0700658<ul>
Scott Main25d0b9f2011-05-26 14:12:54 -0700659 <li>"New Folder" action in the File Explorer.</li>
660 <li>The screenshot dialog will add timestamps to the filenames and preserve the orientation on
661snapshot refresh.</li>
662</ul>
663</dd>
664
665<dt>General notes:</dt>
666<dd>
667 <ul>
668 <li>TraceView supports zooming with the mouse-wheel in the timeline.</li>
669 <li>The New Android Project wizard now supports Eclipse working sets.</li>
670 </ul>
671</dd>
672</dl>
673<p>More information about tool changes are available on the <a
674href="http://tools.android.com/recent">Android Tools Project Site</a>.</p>
675</div>
676</div>
677
678
Robert Ly205d1c32011-06-28 13:13:14 -0700679
680
681
Scott Main25d0b9f2011-05-26 14:12:54 -0700682<div class="toggleable closed">
683 <a href="#" onclick="return toggleDiv(this)">
684 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
685width="9px" />
Scott Main7b013bb2011-03-14 14:17:31 -0700686ADT 10.0.1</a> <em>(March 2011)</em>
687 <div class="toggleme">
688
689<dl>
690
691<dt>Dependencies:</dt>
692
693<dd>ADT 10.0.1 is designed for use with SDK Tools r10. If you haven't
Scott Maina7b1b8c2012-03-14 17:16:11 -0700694already installed SDK Tools r10 into your SDK, use the Android SDK Manager to do
Scott Main7b013bb2011-03-14 14:17:31 -0700695so.</dd>
696
697<dt>General notes:</dt>
698<dd>
699 <ul>
700 <li>Temporary work-around to resolve the rare cases in which the layout editor will
701not open.</li>
702 <li>Fix issue in which ADT 10.0.0 would install on Eclipse 3.4 and lower, even though ADT
703requires Eclipse 3.5 or higher (as of 10.0.0).</li>
704 </ul>
705</dd>
706</dl>
707</div>
708</div>
709
710
711
712<div class="toggleable closed">
713 <a href="#" onclick="return toggleDiv(this)">
714 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
715width="9px" />
Robert Lyccea5d22011-02-11 14:59:36 -0800716ADT 10.0.0</a> <em>(February 2011)</em>
717 <div class="toggleme">
718
719<dl>
720
721<dt>Dependencies:</dt>
722
723<dd>ADT 10.0.0 is designed for use with SDK Tools r10. If you haven't
Scott Maina7b1b8c2012-03-14 17:16:11 -0700724already installed SDK Tools r10 into your SDK, use the Android SDK Manager to do
Robert Lyccea5d22011-02-11 14:59:36 -0800725so.</dd>
726
727<dt>General notes:</dt>
728<dd>
729 <ul>
730 <li>The tools now automatically generate Java Programming Language source files (in the <code>gen/</code> directory) and
731 bytecode (in the <code>res/raw/</code> directory) from your <code>.rs</code> files.</li>
Robert Lya0ef3502011-02-15 16:08:03 -0800732 <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 -0800733 <li>Traceview is now integrated into the Eclipse UI (<a href="http://tools.android.com/recent/traceviewineclipse">details</a>).</li>
734 <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 -0800735 and allows you jump to specific items such as string translations or <code>onClick</code> handlers
736 (<a href="http://tools.android.com/recent/gotodeclarationimprovements">details</a>).</li>
737 <li>The Resource Chooser can create items such as dimensions, integers, ids, and booleans
738 (<a href="http://tools.android.com/recent/resourcechoosercannowcreatearbitraryvalues">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800739 <li>Improvements to the Visual Layout Editor:
740 <ul>
741 <li>A new Palette with categories and rendering previews
742 (<a href="http://tools.android.com/recent/newpalette">details</a>).</li>
Robert Lya0ef3502011-02-15 16:08:03 -0800743 <li>A Layout Actions bar that provides quick access to common layout operations
744 (<a href="http://tools.android.com/recent/layoutactionsbar">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800745 <li>When the Android 3.0 rendering library is selected, layouts render more like they do on devices.
746 This includes rendering of status and title bars to more accurately reflect the actual
Robert Lya0ef3502011-02-15 16:08:03 -0800747 screen space available to applications
748 (<a href="http://tools.android.com/recent/systembarandactionbar">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800749 <li>Zoom improvements such as fit to view, persistent scale, and keyboard access.
750 (<a href="http://tools.android.com/recent/zoomimprovements">details</a>).</li>
Robert Lya0ef3502011-02-15 16:08:03 -0800751 <li>Further improvements to <code>&lt;merge&gt;</code> layouts, as well as layouts with gesture overlays
752 (<a href="http://tools.android.com/recent/improvedsupportformergetags">details</a>).</li>
Robert Lyccea5d22011-02-11 14:59:36 -0800753 <li>Improved rendering error diagnostics.</li>
754 </ul>
Robert Ly6c81c302011-10-05 12:59:29 -0700755 </li>
Robert Lyccea5d22011-02-11 14:59:36 -0800756 </ul>
757</dd>
758</dl>
759</div>
760</div>
761
762<div class="toggleable closed">
763 <a href="#" onclick="return toggleDiv(this)">
764 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
765width="9px" />
Robert Lyedc2aac2011-01-14 16:25:09 -0800766ADT 9.0.0</a> <em>(January 2011)</em>
767 <div class="toggleme">
768
769<dl>
770
771<dt>Dependencies:</dt>
772
773<dd>ADT 9.0.0 is designed for use with SDK Tools r9. If you haven't
Scott Maina7b1b8c2012-03-14 17:16:11 -0700774already installed SDK Tools r9 into your SDK, use the Android SDK Manager to do
Robert Lyedc2aac2011-01-14 16:25:09 -0800775so.</dd>
776
777<dt>General notes:</dt>
778<dd>
Robert Ly6c81c302011-10-05 12:59:29 -0700779 <ul>
Robert Lyedc2aac2011-01-14 16:25:09 -0800780 <li>"Go To Declaration" hyperlink support: You can jump directly from code references (such as
781 <code>R.id.main</code>) to the corresponding XML declaration, or from XML attributes (such as
782 <code>@string</code>) to the corresponding resource definition, or from manifest XML
783 registrations to activities and services.</li>
784 <li>Improvements were made to name refactoring.</li>
785 <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 -0700786 creating an AVD or by editing an AVD with the AVD Manager.</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800787 <li>Improvements to the Visual Layout Editor:
788 <ul>
789 <li>Support for rendering targets: You can now choose an arbitrary Android platform to
790 render the current page, regardless of the project's minimum platform. This makes it
791 easy to verify the layout and appearance of your activity on different versions of
792 the platform.
793 </li>
794 <li>Improved support for empty and nested layouts: Dragging items over nested and
795 invisible layouts automatically enlarges and highlights these layouts, so that they
796 can receive drops.
797 </li>
798 <li>XML formatting improvements: The editor generates cleaner XML and you can now enable
799 XML auto-formatting in the <strong>Preferences</strong> menu.</li>
800 <li>Improved Outline labels: The Outline tab now displays additional information about each
801 View. Textual Views display a snippet of the actual text. Views with a source
802 (such as ImageView) displays the resource name. Included Views display the name of the View.
803 </li>
804 <li>When you right click a View in the Layout Editor,
805 the context menu now contains <strong>Edit ID...</strong> and <strong>Edit Text...</strong>
806 items. The <strong>Properties...</strong> context menus now list all of the properties and
807 provide a way to edit them
808 (<a href="http://tools.android.com/recent/editidtextandotherpropertiesviamenu">Details</a>).
809 </li>
810 <li>The layout editor now properly handles
811 <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"><code>&lt;include&gt;</code></a>
812 and <a href="{@docRoot}guide/topics/resources/layout-resource.html#merge-element"><code>&lt;merge&gt;</code></a>
813 tags (<a href="http://tools.android.com/recent/supportforincludeandmerge">Details</a>).</li>
814 <li>"Extract as Include" refactoring: The Layout Editor has a new refactoring that allows
815 you to select one or more views in a layout, and extract it into a separate layout
816 (<a href="http://tools.android.com/recent/extractasincluderefactoring">Details</a>).</li>
817 <li>Improved diagnostics for class loading and rendering errors: Class loading and rendering
818 error messages are more useful and provide better information about the root cause of the
819 error.</li>
820 <li>Improved error handling to prevent drag and reordering operations from adding children
821 into an {@link android.widget.AdapterView}.</li>
822 <li>Outline reordering: Reordering your views in the Outline tab is much easier
823 (<a href="http://tools.android.com/recent/outlineimprovements">Details</a>).</li>
Robert Ly6c81c302011-10-05 12:59:29 -0700824 <li>Fix for keybinding bug where keyboard shortcuts did not work (Issues
825 <a href="http://code.google.com/p/android/issues/detail?id=13231">13231</a> and
Robert Lyedc2aac2011-01-14 16:25:09 -0800826 <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li>
Robert Ly6c81c302011-10-05 12:59:29 -0700827 <li>Fix for problems with Custom layout attribute menu (Issue
Robert Lyedc2aac2011-01-14 16:25:09 -0800828 <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li>
829 <li>Automatic configuration for various view types: Certain views have properties configured
830 by default. For example, the width of an {@link android.widget.EditText} object is set to
831 <code>match_parent</code> when added to a vertical {@link android.widget.LinearLayout}
832 or a default image is added to an {@link android.widget.ImageButton}.</li>
833 <li>Previews during dragging: Dragging from the palette or dragging within the layout editor
834 now shows live previews of the dragged item.</li>
835 <li>Navigation improvements: In the Layout Editor, double-clicking Views jumps to the
836 corresponding XML element. In the Outline view, double-clicking opens the Properties view.</li>
837 <li>The editor has Honeycomb style animation preview support.</li>
838 <li>Improved rendering support for various Views (such as TabHosts and SlidingDrawers) in
839 Honeycomb (Issues <a href="http://code.google.com/p/android/issues/detail?id=3162">3162</a>
840 and <a href="http://code.google.com/p/android/issues/detail?id=13092">13092</a>).</li>
841 <li>Included layouts can be rendered and edited in the context of the layouts that include
842 them. From a layout using an <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element">
Robert Ly6c81c302011-10-05 12:59:29 -0700843 <code>&lt;include&gt;</code></a> tag, double-clicking on the
Robert Lyedc2aac2011-01-14 16:25:09 -0800844 <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element">
845 <code>&lt;include&gt;</code></a> element edits the referenced layout in the context of the
846 current layout. Additionally, when editing a layout that is included by other layouts,
847 you can quickly change between context layouts, by right clicking in the editor and choosing
848 <strong>Show included in...</strong>. This feature is only available in Honeycomb.</li>
849 </ul>
850 </li>
851 <li>This release fixes many other bugs, but the most important ones are listed below:
852 <ul>
853 <li>Fixed issue that prevented launching debug builds on productions devices when
Robert Ly6c81c302011-10-05 12:59:29 -0700854 <code>debuggable=true</code> was not set in the Android manifest.</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800855 <li>The LogCat view in DDMS properly handles UTF-8 characters.</li>
856 <li>The SDK Manager is more reliable on Windows
857 (<a href="http://tools.android.com/recent/sdkmanagerfixes">Details</a>).</li>
Robert Ly6c81c302011-10-05 12:59:29 -0700858 <li>A JUnit initialization bug that prevented you from working with JUnit tests was fixed
859 (Issue <a href="http://code.google.com/p/android/issues/detail?id=12411">12411</a>).</li>
Robert Lyedc2aac2011-01-14 16:25:09 -0800860 </ul>
861</li>
862 </ul>
863</dd>
864</dl>
865</div>
866</div>
867
868
869
870
871<div class="toggleable closed">
872 <a href="#" onclick="return toggleDiv(this)">
873 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
874width="9px" />
Scott Main92b03082010-12-14 17:55:27 -0800875ADT 8.0.1</a> <em>(December 2010)</em>
876 <div class="toggleme">
877
878<dl>
879
880<dt>Dependencies:</dt>
881
882<p><p>ADT 8.0.1 is designed for use with SDK Tools r8. If you haven't
Scott Maina7b1b8c2012-03-14 17:16:11 -0700883already installed SDK Tools r8 into your SDK, use the Android SDK Manager to do
Scott Main92b03082010-12-14 17:55:27 -0800884so.</p></dd>
885
886<dt>General notes:</dt>
887<dd>
888<ul>
889 <li>This is a quick follow-up to ADT 8.0.0 to fix some bugs.</li>
890 <li>Fixes an issue in which projects failed to compile, citing a dex error.</li>
891 <li>Better ProGuard error reporting when exporting applications for release.</li>
892</ul>
893<p>Also see the recent release notes for 8.0.0, below.</p>
894</dd>
895</dl>
Robert Lyedc2aac2011-01-14 16:25:09 -0800896</div>
Scott Main92b03082010-12-14 17:55:27 -0800897</div>
898
899
900<div class="toggleable closed">
901 <a href="#" onclick="return toggleDiv(this)">
902 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
903width="9px" />
Dirk Dougherty9f7580d2010-10-26 09:29:03 -0700904ADT 8.0.0</a> <em>(December 2010)</em>
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700905 <div class="toggleme">
906
Scott Mainc0c0c422010-11-05 15:23:36 -0700907<dl>
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700908
Scott Mainc0c0c422010-11-05 15:23:36 -0700909<dt>Dependencies:</dt>
910
Dirk Dougherty9f7580d2010-10-26 09:29:03 -0700911<p><p>ADT 8.0.0 is designed for use with SDK Tools r8. If you haven't
Scott Maina7b1b8c2012-03-14 17:16:11 -0700912already installed SDK Tools r8 into your SDK, use the Android SDK Manager to do
Scott Mainc0c0c422010-11-05 15:23:36 -0700913so.</p></dd>
914
915<dt>General notes:</dt>
916<dd>
917<ul>
918 <li>New version number scheme that follows the SDK Tools revision number. The major version
919number for your ADT plugin should now always match the revision number of your SDK Tools. For
920example, ADT 8.x is for SDK Tools r8.</li>
921 <li>Support for true debug build. You no longer need to change the value of the
922 <code>debuggable</code> attribute in the Android Manifest.
923 <p>Incremental builds automatically insert <code>debuggable="true"</code>, but if you perform
924 "export signed/unsigned application package", ADT does <em>not</em> insert it.
925 If you manually set <code>debuggable="true"</code> in the manifest file, then release builds will
926 actually create a debug build (it does not remove it if you placed it there).</p></li>
Scott Main60c4e032011-01-07 14:48:18 -0800927 <li>Automatic <a href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a> support in
928 release builds. For it to work, you need to have a <code>proguard.config</code>
929 property in the <code>default.properties</code> file that points to a ProGuard config file.</li>
Scott Mainc0c0c422010-11-05 15:23:36 -0700930 <li>Completely rewritten Visual Layout Editor. (This is still a work in progress.) Now includes:
931 <ul>
932 <li>Full drag and drop from palette to layout for all Layout classes.</li>
933 <li>Move widgets inside a Layout view, from one Layout view to another and from one layout file to another.</li>
934 <li>Contextual menu with enum/flag type properties.</li>
935 <li>New zoom controls.</li>
936 </ul></li>
937 <li>New HierarchyViewer plug-in integrated in Eclipse.</li>
938 <li>Android launch configurations don't recompile the whole workspace on launch anymore.</li>
939 <li><code>android.jar</code> source and javadoc location can now be configured.</li>
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700940</ul>
941</dd>
Scott Mainc0c0c422010-11-05 15:23:36 -0700942</dl>
943 </div>
944</div>
945
946
947<div class="toggleable closed">
948 <a href="#" onclick="return toggleDiv(this)">
949 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
950ADT 0.9.9</a> <em>(September 2010)</em>
951 <div class="toggleme">
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700952
953<dl>
954
955<dt>Dependencies:</dt>
956
957<dd><p>ADT 0.9.9 replaces ADT 0.9.8 and is designed for use with SDK Tools r7
958and later. ADT 0.9.9 includes the ADT 0.9.8 features as well as an important
959bugfix, so we recommend that you upgrade as soon as possible. If you haven't
960already installed SDK Tools r7 into your SDK, use the Android SDK Manager to do
961so.</p></dd>
962
963<dt>General notes:</dt>
964<dd>
965<ul>
966<li>Fixes a problem in project import, in which source files were deleted in some cases.</li>
967<li>Includes all other ADT 0.9.8 features (see below).</li>
968</ul>
969</dd>
970</dl>
971 </div>
972</div>
973
974<div class="toggleable closed">
975 <a href="#" onclick="return toggleDiv(this)">
976 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Dougherty74a74d32010-09-09 18:40:13 -0700977ADT 0.9.8</a> <em>(September 2010)</em>
Dirk Dougherty022171b2010-07-30 19:24:17 -0700978 <div class="toggleme">
979
980
981</ul>
982</dd>
983
984<dl>
985
986<dt>Dependencies:</dt>
987
Dirk Dougherty9a97aaf2010-09-23 11:48:54 -0700988<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 -0700989
990<dt>General notes:</dt>
991<dd>
992<ul>
993<li>Adds a new Action, "Rename Application Package", to the Android Tools
994contextual menu. The Action does a full application package refactoring.
995<li>Adds support for library projects that don't have a source folder
996called <code>src/</code>. There is now support for any number of source folders,
997with no name restriction. They can even be in subfolder such as
998<code>src/java</code>. If you are already working with library projects created
Scott Main081127b2010-10-29 15:56:27 -0700999in ADT 0.9.7, see <a
Robert Lyc74a69a82011-01-04 22:48:02 -08001000href="{@docRoot}guide/developing/projects/index.html#libraryMigrating">Migrating
Dirk Dougherty022171b2010-07-30 19:24:17 -07001001library projects to ADT 0.9.8</a> for important information about moving
1002to the new ADT environment.</li>
1003<li>Adds support for library projects that depend on other library
1004projects.</li>
1005<li>Adds support for additional resource qualifiers:
1006<code>car</code>/<code>desk</code>, <code>night</code>/<code>notnight</code> and
1007<code>navexposed</code>/<code>navhidden</code>.</li>
1008<li>Adds more device screen types in the layout editor. All screen
Scott Main081127b2010-10-29 15:56:27 -07001009resolution/density combinations listed in the <a
Dirk Dougherty022171b2010-07-30 19:24:17 -07001010href="{@docRoot}guide/practices/screens_support.html#range">Supporting
1011Multiple Screens</a> are now available.</li>
1012<li>Fixes problems with handling of library project names that
1013contain characters that are incompatible with the Eclipse path variable.
1014Now properly sets up the link between the main project and the library
1015project.</li>
1016</ul>
1017</dd>
1018</dl>
1019 </div>
1020</div>
1021
1022
1023<div class="toggleable closed">
1024 <a href="#" onclick="return toggleDiv(this)">
Dirk Dougherty0d1b0812010-04-07 17:05:16 -07001025 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
Dirk Doughertyc7c7afd2010-05-24 09:07:14 -07001026ADT 0.9.7</a> <em>(May 2010)</em>
Dirk Dougherty0d1b0812010-04-07 17:05:16 -07001027 <div class="toggleme">
1028
1029<dl>
1030<dt>Library projects:</dt>
1031<dd>
1032<p>The ADT Plugin now supports the use of <em>library projects</em> during
1033development, a capability that lets you store shared Android application
1034code and resources in a separate development project. You can then reference the
1035library project from other Android projects and, at build time, the tools
1036compile the shared code and resources as part of the dependent applications.
1037More information about this feature is available in the <a
Robert Lyc74a69a82011-01-04 22:48:02 -08001038href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document. </p>
Scott Main081127b2010-10-29 15:56:27 -07001039<p>If you are not developing in Eclipse, <a
1040href="tools-notes.html">SDK Tools r6</a> provides the equivalent library
Dirk Dougherty0d1b0812010-04-07 17:05:16 -07001041project support through the Ant build system.</p>
1042</dd>
1043</dl>
1044 </div>
1045</div>
1046
Dirk Dougherty022171b2010-07-30 19:24:17 -07001047
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001048<div class="toggleable closed">
1049 <a href="#" onclick="return toggleDiv(this)">
1050 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
1051ADT 0.9.6</a> <em>(March 2010)</em>
1052 <div class="toggleme">
1053
1054<dl>
1055<dt>Dependencies:</dt>
1056
Scott Main081127b2010-10-29 15:56:27 -07001057<dd><p>ADT 0.9.6 is designed for use with SDK Tools r5 and later. Before
Scott Maina7b1b8c2012-03-14 17:16:11 -07001058updating to ADT 0.9.6, we highly recommend that you use the Android SDK Manager to install SDK
1059Tools r5 into your SDK.</p></dd>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001060
1061<dt>General Notes:</dt>
1062<dd>
1063<ul>
1064<li>Editing <code>default.properties</code> outside of Eclipse will now
1065automatically update the project.</li>
1066<li>Loads the SDK content only when a project requires it. This will make
1067Eclipse use less resources when the SDK contains many versions of Android.</li>
1068<li>Resolves potential deadlock between modal dialogs, when launching ADT the
1069first time with the SDK Usage panel.</li>
1070<li>Fixes issues with the New Project Wizard when selecting samples.</li>
1071</ul>
1072</dd>
1073<dt>AVD/SDK Manager:</dt>
1074<dd>
1075<ul>
Scott Maina7b1b8c2012-03-14 17:16:11 -07001076<li>Adds support for platform samples packages.</li>
1077<li>Improves support for dependency between packages.</li>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001078<li>AVDs now sorted by API level.</li>
1079<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
1080<li>Prevents deletion of running AVDs.</li>
1081</ul>
1082</dd>
1083<dt>DDMS:</dt>
1084<dd>
1085<ul>
1086<li>DDMS plug-in now contains the Allocation Tracker view.</li>
1087<li>New action in the Logcat view: "Go to problem" lets you go directly from an
1088exception trace output to the code.</li>
1089</ul>
1090</dd>
1091<dt>Editors:</dt>
1092<dd>
1093<ul>
1094<li>Explode mode in the Visual Layout Editor adds a margin to all layout objects
1095so that it's easier to see embedded or empty layouts.</li>
1096<li>Outline mode in the Visual Layout Editor draws layout outline to make it
1097easier to see layout objects.</li>
1098<li>Several fixes in the configuration selector of the Visual Layout
1099Editor.</li>
1100</ul>
1101</dd>
1102<dt>Application launching:</dt>
1103<dd>
1104<ul>
1105<li>Applications launched from ADT now behave as if they were clicked from the
1106Home screen.</li>
1107<li>Fixes issue where add-on with no optional library would not show up as valid
1108targets for application launches.</li>
1109<li>Resolves possible crash when launching applications.</li>
1110</ul>
1111</dd>
1112</dl>
1113 </div>
1114</div>
1115
1116<div class="toggleable closed">
1117 <a href="#" onclick="return toggleDiv(this)">
1118 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
1119ADT 0.9.5</a> <em>(December 2009)</em>
1120 <div class="toggleme">
1121<dl>
1122<dt>Dependencies:</dt>
1123
1124<dd><p>ADT 0.9.5 requires features provided in SDK Tools r4 or higher. If you install
Scott Maina7b1b8c2012-03-14 17:16:11 -07001125ADT 0.9.5, which is highly recommended, you should use the Android SDK
Scott Main92b03082010-12-14 17:55:27 -08001126Manager to download the latest SDK Tools into your SDK. For more information,
Scott Maina7b1b8c2012-03-14 17:16:11 -07001127see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Packages</a>.</p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001128</dd>
1129
Joe Fernandez890f7ea2011-11-28 17:00:27 -08001130<dt>General notes:</dt>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001131<dd>
1132<ul>
1133<li>AVD Launch dialog now shows scale value.</li>
1134<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no skin name specified.</li>
1135<li>Fixes XML validation issue in on older Java versions.</li>
1136<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
1137</ul>
1138</dd>
1139</dl>
1140 </div>
1141</div>
1142
1143<div class="toggleable closed">
1144 <a href="#" onclick="return toggleDiv(this)">
1145 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
1146ADT 0.9.4</a> <em>(October 2009)</em>
1147 <div class="toggleme">
1148<dl>
1149<dt>Dependencies:</dt>
1150
1151<dd><p>ADT 0.9.4 requires features provided in SDK Tools r3 or higher. If you install
Scott Maina7b1b8c2012-03-14 17:16:11 -07001152ADT 0.9.4, which is highly recommended, you should use the Android SDK
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001153Manager to download the latest SDK Tools into your SDK. For more information,
Scott Maina7b1b8c2012-03-14 17:16:11 -07001154see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Packages</a>.</p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001155</dd>
1156
1157<dt>Project Creation Wizard:</dt>
1158<dd>
1159<ul>
1160<li>New option to create a project from a sample by choosing it from a list.</li>
1161</ul>
1162</dd>
1163
1164<dt>Layout Editor:</dt>
1165<dd>
1166<ul>
1167<li>Improved Configuration selector that lets you see how your layout will
1168render on different devices. Default device descriptions include ADP1
1169and Google Ion, while SDK add-ons can also provide new descriptions.
1170A new UI allows you to create custom descriptions.</li>
1171<li>Adds a new clipping toggle, to let you see your full layout even if it's
1172bigger than the screen.</li>
1173</ul>
1174</dd>
1175
Joe Fernandez890f7ea2011-11-28 17:00:27 -08001176<dt>DDMS integration:</dt>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001177<dd>
1178<ul>
1179<li>Includes the improvements from the standlone DDMS, revision 3.</li>
1180<li>Adds an option to open HPROF files into eclipse instead of writing them on
Scott Main081127b2010-10-29 15:56:27 -07001181disk. If a profiler such as MAT (<a href="http://eclipse.org/mat">Memory Analyzer
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001182Tool</a>) is installed, it'll open the file.</li>
1183</ul>
1184</dd>
1185
1186<dt>Android SDK and AVD Manager integration:</dt>
1187<dd>
1188<ul>
Scott Main081127b2010-10-29 15:56:27 -07001189<li>Includes the improvements from the standalone Android SDK and AVD Manager,
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001190revision 3.</li>
1191</ul>
1192</dd>
1193</dl>
1194 </div>
1195</div>
1196
Scott Main77847a32010-11-09 16:41:32 -08001197
1198
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001199<h2 id="installing">Installing the ADT Plugin</h2>
1200
1201<p>The sections below provide instructions on how to download and install
1202ADT into your Eclipse environment. If you encounter problems, see the <a
1203href="#troubleshooting">Troubleshooting</a> section.</p>
1204
Scott Main77847a32010-11-09 16:41:32 -08001205
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001206<h3 id="preparing">Preparing Your Development Computer</h3>
1207
1208<p>ADT is a plugin for the Eclipse IDE. Before you can install or use ADT,
1209you must have a compatible version of Eclipse installed on your development
Robert Ly2a36cf42011-03-09 10:33:20 -08001210computer. Check the <a
1211href="requirements.html">System Requirements</a> document for
1212a list of Eclipse versions that are compatible with the Android SDK.</li></p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001213
1214<ul>
1215<li>If Eclipse is already installed on your computer, make sure that it is
Robert Ly6c81c302011-10-05 12:59:29 -07001216a version that is compatible with ADT and the Android SDK.
Robert Ly2a36cf42011-03-09 10:33:20 -08001217
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001218<li>If you need to install or update Eclipse, you can download it from this
1219location:
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001220
Dirk Dougherty22558d02009-12-10 16:25:06 -08001221<p style="margin-left:2em;"><a href=
1222"http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a>
1223</p>
1224
Robert Ly2a36cf42011-03-09 10:33:20 -08001225<p>The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP
Scott Main77847a32010-11-09 16:41:32 -08001226version of Eclipse is recommended.</p></li>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001227</ul>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001228
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001229<p>Additionally, before you can configure or use ADT, you must install the
1230Android SDK starter package, as described in <a
Robert Lyef13d022010-07-12 14:32:22 -07001231href="installing.html#Installing">Downloading the SDK Starter Package</a>.
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001232Specifically, you need to install a compatible version of the Android SDK Tools
1233and at least one development platform. To simplify ADT setup, we recommend
1234installing the Android SDK prior to installing ADT. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001235
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001236<p>When your Eclipse and Android SDK environments are ready, continue with the
1237ADT installation as described in the steps below. </p>
1238
1239<h3 id="downloading">Downloading the ADT Plugin</h3>
1240
Robert Ly2a36cf42011-03-09 10:33:20 -08001241<p>Use the Update Manager feature of your Eclipse installation to install the latest
Scott Mainb86cba12012-01-30 23:56:53 -08001242revision of ADT on your development computer.</p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001243
1244<p>Assuming that you have a compatible version of the Eclipse IDE installed, as
1245described in <a href="#preparing">Preparing for Installation</a>, above, follow
1246these steps to download the ADT plugin and install it in your Eclipse
Robert Ly2a36cf42011-03-09 10:33:20 -08001247environment.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001248
Robert Ly2a36cf42011-03-09 10:33:20 -08001249
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001250<ol>
Scott Main77847a32010-11-09 16:41:32 -08001251 <li>Start Eclipse, then select <strong>Help</strong> &gt; <strong>Install New
1252Software...</strong>.</li>
1253 <li>Click <strong>Add</strong>, in the top-right corner.</li>
1254 <li>In the Add Repository dialog that appears, enter "ADT Plugin" for the <em>Name</em> and the
1255following URL for the <em>Location</em>:
1256 <pre>https://dl-ssl.google.com/android/eclipse/</pre>
Bill Gruber604917b2011-04-04 12:11:49 -07001257 </li>
1258 <li>Click <strong>OK</strong>
1259 <p>Note: If you have trouble acquiring the plugin, try using "http" in the Location URL,
1260instead of "https" (https is preferred for security reasons).</p></li>
1261 <li>In the Available Software dialog, select the checkbox next to Developer Tools and click
1262<strong>Next</strong>.</li>
Scott Main77847a32010-11-09 16:41:32 -08001263 <li>In the next window, you'll see a list of the tools to be downloaded. Click
1264<strong>Next</strong>. </li>
Bill Gruber604917b2011-04-04 12:11:49 -07001265 <li>Read and accept the license agreements, then click <strong>Finish</strong>.
1266 <p>Note: If you get a security warning saying that the authenticity or validity of
1267the software can't be established, click <strong>OK</strong>.</p></li>
Scott Main77847a32010-11-09 16:41:32 -08001268 <li>When the installation completes, restart Eclipse. </li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001269</ol>
1270
Scott Main369c1c12010-12-07 11:17:00 -08001271<h3 id="configuring">Configuring the ADT Plugin</h3>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001272
Bill Gruber604917b2011-04-04 12:11:49 -07001273<p>After you've successfully downloaded the ADT as described above, the next step
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001274is to modify your ADT preferences in Eclipse to point to the Android SDK directory:</p>
1275
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001276<ol>
1277 <li>Select <strong>Window</strong> &gt; <strong>Preferences...</strong> to open the Preferences
1278 panel (Mac OS X: <strong>Eclipse</strong> &gt; <strong>Preferences</strong>).</li>
Bill Gruber604917b2011-04-04 12:11:49 -07001279 <li>Select <strong>Android</strong> from the left panel.</li>
1280 <p>You may see a dialog asking whether you want to send usage statistics to Google. If so,
1281make your choice and click <strong>Proceed</strong>. You cannot continue with this procedure until
1282you click <strong>Proceed</strong>.</p>
Scott Main081127b2010-10-29 15:56:27 -07001283 <li>For the <em>SDK Location</em> in the main panel, click <strong>Browse...</strong> and
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001284 locate your downloaded SDK directory. </li>
1285 <li>Click <strong>Apply</strong>, then <strong>OK</strong>.</li>
1286</ol>
1287
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001288<p>Done! If you haven't encountered any problems, then the installation is
Scott Main081127b2010-10-29 15:56:27 -07001289complete. If you're installing the Android SDK for the first time, return to <a
1290href="{@docRoot}sdk/installing.html#InstallingADT">Installing the SDK</a> to complete your setup.
1291</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001292
1293
1294<h3 id="troubleshooting">Troubleshooting ADT Installation</h3>
1295
1296<p> If you are having trouble downloading the ADT plugin after following the
1297steps above, here are some suggestions: </p>
1298
1299<ul>
1300 <li>If Eclipse can not find the remote update site containing the ADT plugin,
1301try changing the remote site URL to use http, rather than https. That is, set
1302the Location for the remote site to:
Scott Main081127b2010-10-29 15:56:27 -07001303<pre>http://dl-ssl.google.com/android/eclipse/</pre></li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001304<li>If you are behind a firewall (such as a corporate firewall), make sure that
Scott Main77847a32010-11-09 16:41:32 -08001305you have properly configured your proxy settings in Eclipse. In Eclipse,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001306you can configure proxy information from the main Eclipse menu in
1307<strong>Window</strong> (on Mac OS X, <strong>Eclipse</strong>) &gt;
1308<strong>Preferences</strong> &gt; <strong>General</strong> &gt; <strong>Network
1309Connections</strong>.</li>
1310</ul>
1311
1312<p> If you are still unable to use Eclipse to download the ADT plugin as a
1313remote update site, you can download the ADT zip file to your local machine and
1314manually install it:</p>
1315
1316<ol>
1317 <li>Download the current ADT Plugin zip file from the table below (do not unpack it).
1318
1319 <table class="download">
1320 <tr>
1321 <th>Name</th>
1322 <th>Package</th>
1323 <th>Size</th>
1324 <th>MD5 Checksum</th>
1325 </tr>
1326 <tr>
1327 <td>ADT {@adtZipVersion}</td>
1328 <td>
1329 <a href="http://dl.google.com/android/{@adtZipDownload}">{@adtZipDownload}</a>
1330 </td>
1331 <td>{@adtZipBytes} bytes</td>
1332 <td>{@adtZipChecksum}</td>
1333 </tr>
1334</table>
1335</li>
1336
1337</li>
Scott Main081127b2010-10-29 15:56:27 -07001338 <li>Follow steps 1 and 2 in the <a href="#installing">default install
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001339 instructions</a> (above).</li>
1340 <li>In the Add Site dialog, click <strong>Archive</strong>.</li>
1341 <li>Browse and select the downloaded zip file.</li>
Scott Main77847a32010-11-09 16:41:32 -08001342 <li>Enter a name for the local update site (e.g.,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001343 "Android Plugin") in the "Name" field.</li>
1344 <li>Click <strong>OK</strong>.
Scott Main081127b2010-10-29 15:56:27 -07001345 <li>Follow the remaining procedures as listed for
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001346 <a href="#installing">default installation</a> above,
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001347 starting from step 4.</li>
1348</ol>
1349
1350<p>To update your plugin once you've installed using the zip file, you will have
1351to follow these steps again instead of the default update instructions.</p>
1352
1353<h4>Other install errors</h4>
1354
Scott Main081127b2010-10-29 15:56:27 -07001355<p>Note that there are features of ADT that require some optional
Scott Maina7b1b8c2012-03-14 17:16:11 -07001356Eclipse packages (for example, WST). If you encounter an error when
1357installing ADT, your Eclipse installion might not include these packages.
1358For information about how to quickly add the necessary packages to your
Scott Main081127b2010-10-29 15:56:27 -07001359Eclipse installation, see the troubleshooting topic
1360<a href="{@docRoot}resources/faq/troubleshooting.html#installeclipsecomponents">ADT
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001361Installation Error: "requires plug-in org.eclipse.wst.sse.ui"</a>.</p>
1362
1363<h4>For Linux users</h4>
Scott Main081127b2010-10-29 15:56:27 -07001364<p>If you encounter this error when installing the ADT Plugin for Eclipse:
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001365<pre>
1366An error occurred during provisioning.
1367Cannot connect to keystore.
1368JKS</pre>
1369<p>
1370...then your development machine lacks a suitable Java VM. Installing Sun
1371Java 6 will resolve this issue and you can then reinstall the ADT
1372Plugin.</p>
1373
1374
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001375<h2 id="updating">Updating the ADT Plugin</h2>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001376
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001377<p>From time to time, a new revision of the ADT Plugin becomes available, with
1378new features and bug fixes. Generally, when a new revision of ADT is available,
1379you should update to it as soon as convenient. </p>
1380
1381<p>In some cases, a new revision of ADT will have a dependency on a specific
1382revision of the Android SDK Tools. If such dependencies exist, you will need to
Scott Maina7b1b8c2012-03-14 17:16:11 -07001383update the SDK Tools package of the SDK after installing the new revision of
1384ADT. To update the SDK Tools package, use the Android SDK Manager, as
1385described in <a href="adding-components.html">Adding SDK Packages</a>.</p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001386
1387<p>To learn about new features of each ADT revision and also any dependencies on
1388the SDK Tools, see the listings in the <a href="#notes">Revisions</a>
Scott Main081127b2010-10-29 15:56:27 -07001389section. To determine the version currently installed, open the
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001390Eclipse Installed Software window using <strong>Help</strong>
Scott Main081127b2010-10-29 15:56:27 -07001391&gt; <strong>Software Updates</strong> and refer to the version listed for
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001392"Android Development Tools".</p>
1393
Scott Main081127b2010-10-29 15:56:27 -07001394<p>Follow the steps below to check whether an update is available and, if so,
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001395to install it. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001396
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001397<ol>
Scott Main77847a32010-11-09 16:41:32 -08001398 <li>Select <strong>Help</strong> &gt; <strong>Check for Updates</strong>.
1399 <p>If there are no updates available, a dialog will say so and you're done.</p></li>
1400 <li>If there are updates available, select Android DDMS, Android Development Tools,
1401 and Android Hierarchy Viewer, then click <strong>Next</strong>.</li>
1402 <li>In the Update Details dialog, click <strong>Next</strong>.</li>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001403 <li>Read and accept the license agreement and then click <strong>Finish</strong>.
Scott Main081127b2010-10-29 15:56:27 -07001404 This will download and install the latest version of Android DDMS and
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001405 Android Development Tools.</li>
1406 <li>Restart Eclipse.</li>
1407</ol>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001408
1409
Scott Main090a3dc2010-12-07 10:38:55 -08001410<p>If you encounter problems during the update, remove the existing ADT plugin from Eclipse, then
1411perform a fresh installation, using the instructions for <a href="#installing">Installing the ADT
1412Plugin</a>.</p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07001413