blob: cfdf8ccf507ca3e371fca49f6b1e1d2e0db17a2e [file] [log] [blame]
Scott Main50e990c2012-06-21 17:14:39 -07001page.title=ADT Plugin
2
3@jd:body
4
5<div id="qv-wrapper">
6<div id="qv">
7
8 <h2>See also</h2>
9 <ol>
10 <li><a href="{@docRoot}sdk/installing/installing-adt.html">Installing the Eclipse
11Plugin</a></li>
12 </ol>
13
14</div>
15</div>
16
17<p>Android Development Tools (ADT) is a plugin for the Eclipse IDE
18that is designed to give you a powerful, integrated environment in which
19to build Android applications.</p>
20
21<p>ADT extends the capabilities of Eclipse to let you quickly set up new Android
22projects, create an application UI, add packages based on the Android
23Framework API, debug your applications using the Android SDK tools, and even
24export signed (or unsigned) {@code .apk} files in order to distribute your application.</p>
25
26<p>Developing in Eclipse with ADT is highly recommended and is the fastest way
27to get started. With the guided project setup it provides, as well as tools
28integration, custom XML editors, and debug output pane, ADT gives you an
29incredible boost in developing Android applications. </p>
30
31<p>This document provides step-by-step instructions on how to download the ADT
32plugin and install it into your Eclipse development environment. Note that
33before you can install or use ADT, you must have compatible versions of both the
34Eclipse IDE and the Android SDK installed. For details, make sure to read <a
Joe Fernandezf86f0e62012-06-19 09:54:07 -070035href="{@docRoot}sdk/installing/installing-adt.html">Installing the Eclipse
36Plugin</a>. </p>
Scott Main50e990c2012-06-21 17:14:39 -070037
38<p>If you are already using ADT, this document also provides instructions on
39how to update ADT to the latest version or how to uninstall it, if necessary.
40</p>
41
42<p>For information about the features provided by the ADT plugin, such as code
43editor features, SDK tool integration, and the graphical layout editor (for drag-and-drop layout
44editing), see the <a href="{@docRoot}tools/help/adt.html">Android Developer Tools</a>
45document.</p>
46
47
48<h2 id="notes">Revisions</h2>
49
50<p>The sections below provide notes about successive releases of
51the ADT Plugin, as denoted by revision number. </p>
52
53<p>For a summary of all known issues in ADT, see <a
54href="http://tools.android.com/knownissues">http://tools.android.com/knownissues</a>.</p>
55
Joe Fernandez5b7e6a32013-07-15 12:35:05 -070056
Scott Main52bfaaf2012-11-12 19:39:58 -080057<div class="toggle-content opened">
58 <p><a href="#" onclick="return toggleContent(this)">
59 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img"
Joe Fernandez2ef08f62013-09-18 13:10:09 -070060 alt=""/>ADT 22.2.1</a> <em>(September 2013)</em>
61 </p>
62
63 <div class="toggle-content-toggleme">
64<dl>
65 <dt>Dependencies:</dt>
66
67 <dd>
68 <ul>
69 <li>Java 1.6 or higher is required.</li>
70 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
71 <li>This version of ADT is designed for use with
72 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r22.2.1</a>.
73 If you haven't already installed SDK Tools r22.2.1 into your SDK, use the
74 Android SDK Manager to do so.</li>
75 </ul>
76 </dd>
77
78 <dt>General Notes:</dt>
79 <dd>
80 <ul>
81 <li>Fixed problem with templates that causes the new project wizard to hang.
82 (<a href="http://b.android.com/60149">Issue 60149</a>)</li>
83 </ul>
84 </dd>
85
86</dl>
87</div>
88</div>
89
90
91<div class="toggle-content closed">
92 <p><a href="#" onclick="return toggleContent(this)">
93 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
Joe Fernandez8bed7492013-07-26 15:32:10 -070094 alt=""/>ADT 22.2</a> <em>(September 2013)</em>
95 </p>
96
97 <div class="toggle-content-toggleme">
98<dl>
99 <dt>Dependencies:</dt>
100
101 <dd>
102 <ul>
103 <li>Java 1.6 or higher is required.</li>
104 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
105 <li>This version of ADT is designed for use with
106 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r22.2</a>.
107 If you haven't already installed SDK Tools r22.2 into your SDK, use the
108 Android SDK Manager to do so.</li>
109 </ul>
110 </dd>
111
112 <dt>General Notes:</dt>
113 <dd>
114 <ul>
115 <li>Updated build tools to allow use of RenderScript on older versions of Android
116 using new features in the
117 <a href="{@docRoot}tools/support-library/features.html#v8">Support Library</a>.</li>
118 <li>Reverted signing changes that sometimes trigger a signing verification problem on older
119 platforms.</li>
120 <li>Fixed problem with gradle export function for the Windows platform.</li>
121 </ul>
122 </dd>
123
124</dl>
125</div>
126</div>
127
128
129<div class="toggle-content closed">
130 <p><a href="#" onclick="return toggleContent(this)">
131 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
Joe Fernandez452ff4802013-07-26 11:26:47 -0700132 alt=""/>ADT 22.0.5</a> <em>(July 2013)</em>
133 </p>
134
135 <div class="toggle-content-toggleme">
136<dl>
137 <dt>Dependencies:</dt>
138
139 <dd>
140 <ul>
141 <li>Java 1.6 or higher is required.</li>
142 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
143 <li>This version of ADT is designed for use with
144 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r22.0.5</a>.
145 If you haven't already installed SDK Tools r22.0.5 into your SDK, use the
146 Android SDK Manager to do so.</li>
147 </ul>
148 </dd>
149
150 <dt>General Notes:</dt>
151 <dd>
152 <ul>
Joe Fernandez8bed7492013-07-26 15:32:10 -0700153 <li>Fixed RenderScript compilation issue for Windows platforms.</li>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700154 <li>Updated <a href="{@docRoot}tools/help/systrace.html">Systrace</a> report generation
155 in the Monitor and DDMS perspectives.</li>
156 </ul>
157 </dd>
158
159</dl>
160</div>
161</div>
162
163
164<div class="toggle-content closed">
165 <p><a href="#" onclick="return toggleContent(this)">
166 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
Joe Fernandez5b7e6a32013-07-15 12:35:05 -0700167 alt=""/>ADT 22.0.4</a> <em>(July 2013)</em>
168 </p>
169
170 <div class="toggle-content-toggleme">
171<dl>
172 <dt>Dependencies:</dt>
173
174 <dd>
175 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700176 <li>Java 1.6 or higher is required.</li>
177 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
178 <li>This version of ADT is designed for use with
179 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r22.0.4</a>.
180 If you haven't already installed SDK Tools r22.0.4 into your SDK, use the
181 Android SDK Manager to do so.</li>
Joe Fernandez5b7e6a32013-07-15 12:35:05 -0700182 </ul>
183 </dd>
184
185 <dt>General Notes:</dt>
186 <dd>
187 <ul>
Joe Fernandez8bed7492013-07-26 15:32:10 -0700188 <li>Fixed problem with compiling RenderScript code.</li>
Joe Fernandez5b7e6a32013-07-15 12:35:05 -0700189 <li>Improved Gradle export with better workflow and error reporting.</li>
190 <li>Improved Gradle multi-module export feature.</li>
191 <li>Updated build logic to force exporting of the classpath containers unless you are using
192 the Maven plugin.</li>
193 </ul>
194 </dd>
195
196</dl>
197</div>
198</div>
199
200
201<div class="toggle-content closed">
202 <p><a href="#" onclick="return toggleContent(this)">
203 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
Joe Fernandeza3b33c02013-05-22 22:19:29 -0700204 alt=""/>ADT 22.0.1</a> <em>(May 2013)</em>
205 </p>
206
207 <div class="toggle-content-toggleme">
208<dl>
209 <dt>Dependencies:</dt>
210
211 <dd>
212 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700213 <li>Java 1.6 or higher is required.</li>
214 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
215 <li>This version of ADT is designed for use with
216 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r22.0.1</a>.
217 If you haven't already installed SDK Tools r22.0.1 into your SDK, use the
218 Android SDK Manager to do so.</li>
Joe Fernandeza3b33c02013-05-22 22:19:29 -0700219 </ul>
220 </dd>
221
222 <dt>General Notes:</dt>
223 <dd>
224 <ul>
225 <li>Fixed issue with Lint ServiceCast check and fully qualified class names.
226 (<a href="http://code.google.com/p/android/issues/detail?id=55403">Issue 55403</a>)</li>
227 <li>Fixed crash issue with Lint ArraySizeDetector check.
228 (<a href="http://code.google.com/p/android/issues/detail?id=54887">Issue 54887</a>)</li>
229 <li>Fixed problem with the Gradle export feature.</li>
230 <li>Fixed version check issue for the ADT Plugin.</li>
231 </ul>
232 </dd>
233
234</dl>
235</div>
236</div>
237
238<div class="toggle-content closed">
239 <p><a href="#" onclick="return toggleContent(this)">
240 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
Joe Fernandez82772f12013-03-27 11:30:34 -0700241 alt=""/>ADT 22.0.0</a> <em>(May 2013)</em>
242 </p>
243
244 <div class="toggle-content-toggleme">
245<dl>
246 <dt>Dependencies:</dt>
247
248 <dd>
249 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700250 <li>Java 1.6 or higher is required.</li>
251 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
252 <li>This version of ADT is designed for use with
253 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r22</a>.
254 If you haven't already installed SDK Tools r22 into your SDK, use the
255 Android SDK Manager to do so.</li>
Joe Fernandez82772f12013-03-27 11:30:34 -0700256 </ul>
257 </dd>
258
259 <dt>General Notes:</dt>
260 <dd>
261 <ul>
262 <li>Updated tools to allow libraries to share the same package name as the applications
263 that use them.</li>
264 <li>Added new Lint checks, including checks for layout consistency,
265 {@link android.widget.RelativeLayout} siblings, {@link android.os.Parcel} creator,
266 JavaScript interfaces, {@link android.app.Service} casting, quantity strings, manifest
267 typos, orientation tags in layouts, overlapping names for 9-patches and images, and class
268 existence checks.</li>
269 <li>Updated build tools to sign applications using the BouncyCastle library instead of
270 relying on Sun JVM specific APIs.</li>
271 <li>Added an experimental Gradle build export feature for moving projects into the
272 <a href="{@docRoot}sdk/installing/studio.html">Android Studio</a> environment or for
273 setting up command-line builds with Gradle.
274 (<a href="http://tools.android.com/tech-docs/new-build-system">more info</a>)</li>
275 </ul>
276 </dd>
277
278</dl>
279</div>
280</div>
281
282<div class="toggle-content closed">
283 <p><a href="#" onclick="return toggleContent(this)">
284 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
Joe Fernandez46e31ae2013-02-04 11:16:12 -0800285 alt=""/>ADT 21.1.0</a> <em>(February 2013)</em>
286 </p>
287
288 <div class="toggle-content-toggleme">
289<dl>
290 <dt>Dependencies:</dt>
291
292 <dd>
293 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700294 <li>Java 1.6 or higher is required.</li>
295 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
296 <li>This version of ADT is designed for use with
297 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r21.1</a>.
298 If you haven't already installed SDK Tools r21.1 into your SDK, use the
299 Android SDK Manager to do so.</li>
Joe Fernandez46e31ae2013-02-04 11:16:12 -0800300 </ul>
301 </dd>
302
303 <dt>General Notes:</dt>
304 <dd>
305 <ul>
306 <li>Added new <a href="{@docRoot}tools/projects/templates.html">code templates</a> for
307 notifications, blank fragments and list fragments.</li>
308 <li>Added support for resource rename refactoring. Renaming a resource XML file, drawable
309 icon, an {@code R.} field name or ID in the layout editor invokes a refactoring routine
310 to update all resource references.</li>
311 <li>Added more than 15 new Lint checks, including checks for overriding older APIs, XML
312 resource problems, graphic asset issues and manifest tags.
313 <li>Updated XML Editor to respond to refactoring shortcut keys such as <strong>Refactor
314 &gt; Rename</strong>.</li>
315 <li>Updated XML Editor to improve double click handling.</li>
316 <li>Added code completion improvements for custom views, theme references and class
Joe Fernandeza3b33c02013-05-22 22:19:29 -0700317 references. For example, code completion in a {@code &lt;fragment android:name="" &gt;} tag
Joe Fernandez46e31ae2013-02-04 11:16:12 -0800318 now suggests completion with a list of fragment classes. Similarly, code completion in the
319 manifest now offers implementations suitable for the given tag.</li>
320 <li>Updated the <strong>Project Import</strong> dialog so that it shows a table for all
321 imported projects where you can edit the name of the imported project.</li>
322 <li>Added support for layout aliases in the Layout Editor.</li>
323 </ul>
324 </dd>
325
326 <dt>Bug fixes:</dt>
327 <dd>
328 <ul>
329 <li>Fixed issued with refactoring support for renaming and moving classes and packages.
330 </li>
331 </ul>
332 </dd>
333
334</dl>
335</div>
336</div>
337
338
339
340<div class="toggle-content closed">
341 <p><a href="#" onclick="return toggleContent(this)">
342 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
Joe Fernandez66e97da2012-12-12 15:06:09 -0800343 alt=""/>ADT 21.0.1</a> <em>(December 2012)</em>
344 </p>
345
346 <div class="toggle-content-toggleme">
347<dl>
348 <dt>Dependencies:</dt>
349
350 <dd>
351 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700352 <li>Java 1.6 or higher is required.</li>
353 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
354 <li>This version of ADT is designed for use with
355 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r21.0.1</a>.
356 If you haven't already installed SDK Tools r21.0.1 into your SDK, use the
357 Android SDK Manager to do so.</li>
Joe Fernandez66e97da2012-12-12 15:06:09 -0800358 </ul>
359 </dd>
360
361 <dt>General Notes:</dt>
362 <dd>
363 <ul>
364 <li>Build
365 <ul>
366 <li>Updated build to detect and handle package name conflicts between an application and
367 the libraries it depends on. Libraries cannot share package names unless all of them
368 share the same package name.
369 (<a href="http://code.google.com/p/android/issues/detail?id=40152">Issue 40152</a>,
370 <a href="http://code.google.com/p/android/issues/detail?id=40273">Issue 40273</a>)
371 </li>
372 <li>Added a flag to disable dex merging to deal with cases where merging could generate
373 a broken dex file. If this happens to your project, add the following setting to your
374 {@code project.properties} file: {@code dex.disable.merger=true} This setting
375 causes the build system to revert to the older, slower dex processing that does not
376 pre-dex libraries.</li>
377 </ul>
378 </li>
379 </ul>
380 </dd>
381
382 <dt>Bug fixes:</dt>
383 <dd>
384 <ul>
385 <li>Lint
386 <ul>
387 <li>Corrected check for {@code 0px} values in style XML elements.
388 (<a href="http://code.google.com/p/android/issues/detail?id=39601">Issue 39601</a>)
389 </li>
390 <li>Fixed incorrect flagging of formatting strings.
391 (<a href="http://code.google.com/p/android/issues/detail?id=39758">Issue 39758</a>)
392 </li>
393 <li>Fixed problem where {@code tools:ignore} directive in the manifest file was ignored
394 by the Lint tool.
395 (<a href="http://code.google.com/p/android/issues/detail?id=40136">Issue 40136</a>)
396 </li>
397 <li>Fixed problem with flagging a wakelock release inside a conditional.
398 (<a href="http://code.google.com/p/android/issues/detail?id=40424">Issue 40424</a>)
399 </li>
400 <li>Fixed incorrect reporting of missing {@code layout_width} and {@code layout_height}
401 XML fields.
402 (<a href="http://code.google.com/p/android/issues/detail?id=38958">Issue 38958</a>)
403 </li>
404 <li>Fixed handling of custom namespace attributes.</li>
405 <li>Added fixes for filtering out library project warnings.</li>
406 <li>Removed warnings about missing classes before a build.</li>
407 </ul>
408 </li>
409
410 <li>Android Virtual Device Manager
411 <ul>
412 <li>Fixed handling of {@code devices.xml} file in other locales.
413 (<a href="http://code.google.com/p/android/issues/detail?id=39704">Issue 39704</a>)
414 </li>
415 <li>Fixed problem where the AVD Manager would not allow you to create a new AVD using
416 the <strong>4.0" WVGA</strong> or <strong> 4.65" 720p</strong> device definitions.
417 (<a href="http://code.google.com/p/android/issues/detail?id=39939">Issue 39939</a>)
418 </li>
419 <li>Fixed problem where deleted device definitions were not removed.</li>
420 <li>Fixed incorrect screen resolution setting for the Nexus One device definition.</li>
421 <li>Fixed problem where writing of an AVD settings file does not properly escape
422 {@code \\} path characters.</li>
423 </ul>
424 </li>
425
426 <li>Layout Editor
427 <ul>
428 <li>Fixed problem where layout cannot render strings starting with {@code \@}.
429 (<a href="http://code.google.com/p/android/issues/detail?id=40222">Issue 40222</a>)
430 </li>
431 <li>Fixed preview error when using the {@code android:numColumns} attribute in a layout.
432 (<a href="http://code.google.com/p/android/issues/detail?id=21296">Issue 21296</a>)
433 </li>
434 <li>Fixed compatibility issue with IntelliJ layout preview caused by layout editor
435 deleting the {@code .android/devices.xml} file.</li>
436 <li>Added fixes to editor for {@link android.widget.GridLayout}.</li>
437 </ul>
438 </li>
439
440 <li>Added support for {@code ldrtl} and {@code ldltr} resource qualifiers.</li>
441 <li>Fixed problem where Android XML resources mistakenly get compiled into {@code *.out.xml}
442 output files, causing project errors.
443 (<a href="http://code.google.com/p/android/issues/detail?id=3767">Issue 3767</a>)</li>
444 <li>Fixed error which caused resource refresh operations to fail.
445 (<a href="http://code.google.com/p/android/issues/detail?id=39213">Issue 39213</a>)</li>
446 <li>Updated the Custom View code template handle to library projects properly.</li>
447 <li>Fixed support for library string resources ({@code strings.xml}) when exporting an
448 application that references a library with string resources.
449 (<a href="http://code.google.com/p/android/issues/detail?id=39751">Issue 39751</a>)</li>
450 <li>Fixed problem where bad AVD setting files caused Device Manager and graphical XML editors
451 to crash.
452 (<a href="http://code.google.com/p/android/issues/detail?id=40400">Issue 40400</a>)</li>
453 </ul>
454 </dd>
455
456</dl>
457</div>
458</div>
459
460<div class="toggle-content closed">
461 <p><a href="#" onclick="return toggleContent(this)">
462 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
Scott Main52bfaaf2012-11-12 19:39:58 -0800463 alt=""/>ADT 21.0.0</a> <em>(November 2012)</em>
464 </p>
Scott Main50e990c2012-06-21 17:14:39 -0700465
Scott Main52bfaaf2012-11-12 19:39:58 -0800466 <div class="toggle-content-toggleme">
467<dl>
468 <dt>Dependencies:</dt>
Scott Main50e990c2012-06-21 17:14:39 -0700469
Scott Main52bfaaf2012-11-12 19:39:58 -0800470 <dd>
471 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700472 <li>Java 1.6 or higher is required.</li>
473 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
474 <li>This version of ADT is designed for use with
475 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r21</a>.
476 If you haven't already installed SDK Tools r21.0.0 into your SDK, use the
477 Android SDK Manager to do so.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -0800478 </ul>
479 </dd>
480
481 <dt>General improvements:</dt>
482 <dd>
483 <ul>
484 <li>Layout Editor
485 <ul>
486 <li>Added multi-configuration editing feature that was previewed at Google I/O
487 developer tools talk in June. For an overview, see the
488 <a href="https://www.youtube.com/watch?v=Erd2k6EKxCQ">session recording</a>
489 (starting at: 20:30).</li>
490 <li>Modified the layout logic so that setting a {@link android.app.Fragment} layout or
491 a {@link android.widget.ListView} preview layout is now applied not
492 only to the current layout but to all other configurations of the same layout.</li>
493 <li>Updated the editor to include resources from library projects in the resource chooser,
494 XML code completion, Go To Declaration and other editing contexts.</li>
495 <li>Updated the editor so that it no longer forces all variations of a single
496 layout into a single editor. You can, for example, open both the landscape and portrait
497 versions of a layout as separate editors and quickly switch between them, or even
498 re-dock your editors to edit them simultaneously. If you prefer the previous behavior,
499 set the new option in <strong>Preferences &gt; Android &gt; Editors</strong> to use the
500 old behavior.</li>
501 <li>Improved the handling of {@link android.widget.RelativeLayout} in the layout editor,
502 so that dragging widgets around and deleting them should now result in the layout
503 working more intuitively. In particular, deleting a widget causes the constraints
504 flowing through the deleted widgets to be intelligently adjusted, and when moving
505 widgets the constraints are preserved whenever possible.</li>
506 <li>Added the ability to specify a default action in Layout Editor views, which you can
507 invoke with the <em>F2</em> key. For example, after dropping a button or text view,
508 you can press <em>F2</em> to edit its text.</li>
509 <li>Added renaming of an ID (changing the {@code android:id} attribute) by invoking the
510 <strong>Rename</strong> shortcut.</li>
511 <li>Adding a new locale is now easier with the new <strong>Add Locale...</strong> action
512 in the locale menu. In addition to creating the new values folder, it lets you edit an
513 initial set of translations for the new locale.</li>
514 <li>Updated the editor so that when a custom view (or incorrectly configured view)
515 throws an exception during initialization or painting, part of the relevant stack trace
516 is shown inline in the layout editor, and you can click on the stack frames to jump to
517 the relevant location</li>
518 <li>Improved the editor error display to show the relevant part of a stack trace
519 when a custom view throws exceptions during rendering or construction, and provides
520 hyperlinks to the stack frames.</li>
521 <li>Improved the stack trace display for exceptions for custom views that are generated
522 during rendering.</li>
523 <li>Updated the configuration chooser so that it shows full language and region names (not
524 just 2-letter codes) in menus, in the configuration dialog and other editing contexts.
525 </li>
526 <li>Improved the device menu in the configuration chooser.</li>
527 </ul>
528 </li>
529 <li>Lint
530 <ul>
531 <li>Added over 25 new lint rules for resources, locale settings, layout
532 files, incorrect use of {@link android.util.SparseArray} and
533 {@link android.os.PowerManager.WakeLock} and manifest issues.</li>
534 <li>Improved the XML export function to support the
535 <a href="https://wiki.jenkins-ci.org/display/JENKINS/Android+Lint+Plugin">Jenkins Lint
536 plugin</a>.
537 </li>
538 </ul>
539 </li>
540 <li>Editors
541 <ul>
542 <li>Modified the plugin to remember which editor mode (text or graphical) you were last
543 using for each type of editor (layout, manifest or values) and uses that mode for newly
544 opened files. This means that if you prefer to work with just XML, the editors start
545 showing you XML text editors after you have switched to them for each type of editor.</li>
546 <li>Updated XML code completion so that it completes (and shows documentation for) theme
547 references, such as {@code ?android:attr/dividerHeight}.</li>
548 </ul>
549 </li>
550 <li>Android Virtual Devices (AVD)
551 <ul>
552 <li>Added new <strong>Device Definitions</strong> tab in the AVD Manager for configuring
553 standard size and Nexus virtual devices.</li>
554 <li>Improved emulators so that they launch with a skin that is dynamically generated and
555 reflects the actual hardware configured in the AVD Manager.</li>
556 </ul>
557 </li>
558 <li>Improved the new template mechanism, cleaned up the existing templates and added
559 several new templates</li>
560 <li>Added ability to export images and frames in the Tracer for OpenGL ES tool.</li>
561 <li>Integrated the Systrace tool into the DDMS perspective.</li>
562 <li>Improved the JUnit test runner to allow a test to be run on all connected devices
563 simultaneously.</li>
564 </ul>
565 </dd>
566
567 <dt>Bug fixes:</dt>
568 <dd>
569 <ul>
570 <li>Fixed the editors so that attributes and resources specified by XML files in the
571 {@code /values} directory are validated when files are saved.</li>
572 <li>Added a workaround for a bug in Eclipse on Mac OS X 10.8 where the Property Sheet was not
573 working properly.</li>
574 </ul>
575 </dd>
576
577</dl>
578
579</div>
580</div>
581
582<div class="toggle-content closed">
583 <p><a href="#" onclick="return toggleContent(this)">
584 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
585 alt=""/>ADT 20.0.3</a> <em>(August 2012)</em>
586 </p>
587
588 <div class="toggle-content-toggleme">
Scott Main607079d2012-08-09 14:13:22 -0700589<dl>
590 <dt>Dependencies:</dt>
591
592 <dd>
593 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700594 <li>Java 1.6 or higher is required.</li>
595 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
596 <li>This version of ADT is designed for use with
597 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r20.0.3</a>.
598 If you haven't already installed SDK Tools r20.0.3 into your SDK, use the
599 Android SDK Manager to do so.</li>
Scott Main607079d2012-08-09 14:13:22 -0700600 </ul>
601 </dd>
602
603 <dt>Bug fixes:</dt>
604 <dd>
605 <ul>
606 <li>Fixed issue with keyboard shortcuts for editors in Eclipse Juno (Version 4.x).</li>
607 <li>Fixed problem with cached download lists in SDK Manager.</li>
608 </ul>
609 </dd>
610
611</dl>
612
613</div>
614</div>
615
616
Scott Main52bfaaf2012-11-12 19:39:58 -0800617<div class="toggle-content closed">
618 <p><a href="#" onclick="return toggleContent(this)">
619 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
620 alt=""/>ADT 20.0.2</a> <em>(July 2012)</em>
621 </p>
622
623 <div class="toggle-content-toggleme">
Joe Fernandezcb58e6b2012-07-20 08:42:26 -0700624<dl>
625 <dt>Dependencies:</dt>
626
627 <dd>
628 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700629 <li>Java 1.6 or higher is required.</li>
630 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
631 <li>This version of ADT is designed for use with
632 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r20.0.1</a>.
633 If you haven't already installed SDK Tools r20.0.1 into your SDK, use the
634 Android SDK Manager to do so.</li>
Joe Fernandezcb58e6b2012-07-20 08:42:26 -0700635 </ul>
636 </dd>
637
638 <dt>Bug fixes:</dt>
639 <dd>
640 <ul>
641 <li>Fixed keybindings in various XML editors for Eclipse 4.x.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -0800642 <li>Fixed a bug that occurs when you try to create layout configurations that already
643 exist.</li>
Joe Fernandezcb58e6b2012-07-20 08:42:26 -0700644 </ul>
645 </dd>
646
647</dl>
648
649</div>
650</div>
651
652
Scott Main52bfaaf2012-11-12 19:39:58 -0800653<div class="toggle-content closed">
654 <p><a href="#" onclick="return toggleContent(this)">
655 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
656 alt=""/>ADT 20.0.1</a> <em>(July 2012)</em>
657 </p>
658
659 <div class="toggle-content-toggleme">
Joe Fernandez67e6e0e2012-07-13 17:31:31 -0700660<dl>
661 <dt>Dependencies:</dt>
662
663 <dd>
664 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700665 <li>Java 1.6 or higher is required.</li>
666 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
667 <li>This version of ADT is designed for use with
668 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r20.0.1</a>.
669 If you haven't already installed SDK Tools r20.0.1 into your SDK, use the
670 Android SDK Manager to do so.</li>
Joe Fernandez67e6e0e2012-07-13 17:31:31 -0700671 </ul>
672 </dd>
673
674 <dt>Bug fixes:</dt>
675 <dd>
676 <ul>
677 <li>Fixed issue in the New Project Wizard related to installation of the Support Library.</li>
678 <li>Fixed several issues with New Project Wizard related to templates.</li>
679 <li>Fixed issue with the text-based launcher icon in New Project Wizard.</li>
680 <li>Fixed issue with sticky error markers in Java files.</li>
681 <li>Fixed problem with manifest merger when exporting release {@code .apk} files.</li>
682 <li>Fixed NDK support to automatically find include path on Windows.</li>
683 <li>Fixed editor startup exception for new configurations where editor would come up blank.</li>
684 <li>Added support for {@code xxhdpi} density, which was included in API Level 16.</li>
685 <li>Fixed a bug in the {@code lint} check for unprotected broadcast receivers to ignore
686unprotected receivers for default Android actions.</li>
687 </ul>
688 </dd>
689
690</dl>
691
692</div>
693</div>
694
Scott Main52bfaaf2012-11-12 19:39:58 -0800695<div class="toggle-content closed">
696 <p><a href="#" onclick="return toggleContent(this)">
697 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
698 alt=""/>ADT 20.0.0</a> <em>(June 2012)</em>
699 </p>
700
701 <div class="toggle-content-toggleme">
Joe Fernandezf86f0e62012-06-19 09:54:07 -0700702<dl>
703 <dt>Dependencies:</dt>
704
705 <dd>
706 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700707 <li>Java 1.6 or higher is required.</li>
708 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
709 <li>This version of ADT is designed for use with
710 <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r20</a>.
711 If you haven't already installed SDK Tools r20 into your SDK, use the Android SDK
712 Manager to do so.</li>
Joe Fernandezf86f0e62012-06-19 09:54:07 -0700713 </ul>
714 </dd>
715
716 <dt>General improvements:</dt>
717 <dd>
718 <ul>
719 <li>Application Templates
720 <ul>
721 <li>Added Android application templates to allow developers to create specific types of
722applications faster, using Android-recommended best practices.</li>
723 </ul>
724 </li>
725 <li>Performance
726 <ul>
727 <li>Improved overall ADT performance and fixed memory issues. Loading SDK data
728should be up to 30% faster.</li>
729 </ul>
730 </li>
731 <li>Tracer for GLES
732 <ul>
733 <li>Added new perspective view and tools for tracing OpenGL calls for an application and
Joe Fernandez79dee592012-06-29 14:39:00 -0700734track the visual results of each call. (<a href="{@docRoot}tools/help/gltracer.html">more info</a>)</li>
Joe Fernandezf86f0e62012-06-19 09:54:07 -0700735 </ul>
736 </li>
737 <li>Lint
738 <ul>
739 <li>Added new Lint rules for manifest registrations, duplicate activity
740registrations, security checking, correct use of Toast, missing SharedPreferences commit()
741calls, Fragment class instantiation, and handler leaks.</li>
742 <li>Created tighter integration of lint with the layout editor. (<a
743href="http://tools.android.com/recent/lintfeedback">more info</a>)</li>
744 <li>Added execution of Lint tool on save option for Java files. (<a
745href="http://tools.android.com/recent/lintonsave">more info</a>)</li>
746 </ul>
747 </li>
748 <li>Layout Editor (<a href="http://tools.android.com/recent/newlayouteditorpropertysheet">more
749info</a>)
750 <ul>
751 <li>Added highlighting (in bold) for important attributes, inline preview of colors and
752images, including the corresponding resource name.</li>
753 <li>Added display of default values, when available.</li>
754 <li>Added completion of resource values and enum and flag constants.</li>
755 <li>Added support for displaying advanced properties, and nested properties for better
756categorization, for example, layout params are listed first as a single nested property.</li>
757 <li>Display Tooltips over the attribute names, not values, so they never obscure the value
758column.</li>
759 <li>Provided checkbox support for boolean values.</li>
760 <li>Added support for switching between alphabetical and natural sort orders.</li>
761 <li>Improved layout editor tool's window management for more usable editing views.</li>
762 <li>Improved the layout editor's configuration chooser header user interface.</li>
763 </ul>
764 </li>
765 <li>XML Editing
766 <ul>
767 <li>Added go to declaration support for theme references (?android:attr, ?attr:).</li>
768 <li>Improved code completion in style definitions.</li>
769 <li>Improved code completion for the {@code minSdkVersion} and {@code targetSdkVersion}
770attributes in manifest files so that version descriptions are displayed for each of the API
771levels</li>
772 <li>Provided support for code completion of custom attributes for custom views,
773including current edits to the style files.</li>
774 <li>Improved synchronization of text and graphic editors with the XML outline view,
775including outline changes and display of current selection.</li>
776 </ul>
777 </li>
778 <li>Build System
779 <ul>
780 <li>Added automatic merging of library project manifest files into the including
781project's manifest. Enable this feature with the {@code manifestmerger.enabled} property.</li>
782 <li>Added automatic ProGuard support for the {@code aapt -G} flag. This change causes
783the build system to generate a temporary ProGuard keep-rules file containing classes that
784are referenced from XML files (such as custom views) and pass this to ProGuard at shrink-time. This
785can make the resulting APK much smaller when using just a small portion of a large library project
786(such as the Android Support library), since the catch-all rules to keep all custom views from the
787default ProGuard configuration file have also been removed.</li>
788 </ul>
789 </li>
790 <li>Added support building and debugging NDK-based Android projects.</li>
791 </li>
792 <li>Added support to the Asset Studio Wizard for padding and turning off background
793shapes.</li>
794 <li>Improved LogCat to allow developers to set colors for different priorities.</li>
795 <li>Improved app Run functionality to allow running on multiple devices with a single launch.
796The target tab in the launch configuration dialog includes an option to allow launching on all
797connected devices, with the option to further narrow the list to just physical devices or just
798emulators. (This feature is available only for Run configurations, and not for Debug or JUnit
799tests.)</li>
800 <ul>
801 </dd>
802
803 <dt>Bug fixes:</dt>
804 <dd>
805 <ul>
806 <li>Fixed a number of issues where Lint incorrectly reported code errors or failed to
807flag code issues.</li>
808 <li>Fixed several bugs in the layout editor.</li>
809 <li>Fixed compatibility issues with Eclipse 4.x (Juno), including cut/copy/paste
810functions.</li>
811 </ul>
812 </dd>
813
814</dl>
815
816</div>
817</div>
818
Scott Main52bfaaf2012-11-12 19:39:58 -0800819<div class="toggle-content closed">
820 <p><a href="#" onclick="return toggleContent(this)">
821 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
822 alt=""/>ADT 18.0.0</a> <em>(April 2012)</em>
823 </p>
824
825 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -0700826<dl>
827 <dt>Dependencies:</dt>
828
829 <dd>
830 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700831 <li>Java 1.6 or higher is required.</li>
832 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
833 <li>This version of ADT is designed for use with
834 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r18</a>.
835 If you haven't already installed SDK Tools r18 into your SDK, use the Android SDK
836 Manager to do so.</li>
Scott Main50e990c2012-06-21 17:14:39 -0700837 </ul>
838 </dd>
839
840 <dt>Bug fixes:</dt>
841 <dd>
842 <ul>
843 <li>Fixed problem where exporting release package does not recompile libraries in release
844 mode.
845 (<a href="http://code.google.com/p/android/issues/detail?id=27940">Issue 27940</a>)</li>
846 </ul>
847 </dd>
848
849</dl>
850
851</div>
852</div>
853
854
Scott Main52bfaaf2012-11-12 19:39:58 -0800855<div class="toggle-content closed">
856 <p><a href="#" onclick="return toggleContent(this)">
857 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
858 alt=""/>ADT 17.0.0</a> <em>(March 2012)</em>
859 </p>
860
861 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -0700862<dl>
863 <dt>Dependencies:</dt>
864
865 <dd>
866 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700867 <li>Java 1.6 or higher is required.</li>
868 <li>Eclipse Helios (Version 3.6.2) or higher is required.</li>
869 <li>This version of ADT is designed for use with
870 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r17</a>.
871 If you haven't already installed SDK Tools r17 into your SDK, use the Android SDK
872 Manager to do so.</li>
Scott Main50e990c2012-06-21 17:14:39 -0700873 </ul>
874 </dd>
875
876 <dt>General improvements:</dt>
877 <dd>
878 <ul>
879 <li>New build features
880 <ul>
881 <li>Added feature to automatically setup JAR dependencies. Any {@code .jar} files in the
882 {@code /libs} folder are added to the build configuration (similar to how the Ant build
883 system works). Also, {@code .jar} files needed by library projects are also automatically
884 added to projects that depend on those library projects.
885 (<a href="http://tools.android.com/recent/dealingwithdependenciesinandroidprojects">more
886 info</a>)</li>
887 <li>Added a feature that allows you to run some code only in debug mode. Builds now
888generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is
889automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG})
890constant in your code to run debug-only functions.</li>
891 <li>Added support for custom views with custom attributes in libraries. Layouts using
892custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead
893of the URI that includes the app package name. This URI is replaced with the app specific one at
894build time.</li>
895 </ul>
896 </li>
897 <li>Improved Lint features. See the <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r17</a>
898release notes.</li>
899 <li>Improved the Lint user interface
900 <ul>
901 <li>Added <strong>Run Lint</strong> toolbar action with a dropdown menu for selecting
902specific (or all) projects, clearing results and other actions.</li>
903 <li>Updated the results window to be organized as a tree rather than a flat list. Each
904issue type has a single top level item, which makes it easier to quickly scan through the reported
905issues and narrow down to the issues you are most interested in.</li>
906 <li>Added many new toolbar actions to the results window, including expand/collapse,
907ignore in file, ignore in project, ignore everywhere, show options, and configure columns.</li>
908 <li>Added new column options for the <strong>Lint Warnings</strong> tab, such as
909category, priority, project, file and line. The column selection (as well as the column sizes) are
910persisted. You can also click on columns to sort by those values.</li>
911 <li>Added Enable All and Disable All buttons to the Lint Options dialog, and a search
912filter textbox to filter by issue id, summary and severity.</li>
913 </ul>
914 </li>
915 <li>Added Quick Outline for XML editors (Ctrl-O, Command-O). This feature shows the structure
916of the current file including icons and ids, lets you filter and quickly jump to specific ids.</li>
917 <li>Updated the resource chooser to shows the resolved value for resources. For example,
918when selecting {@code @string/hello} the chooser displays a resolved value such as "Hello World").
919The resource chooser also now allows you to edit the chosen value directly.</li>
920 <li>Updated Layout Editor so that it does not assign default ids to layouts, includes and
921merge tags. This behavior tended to pollute the namespace with a lot of unused resources since
922layouts are not usually manipulated via code, or referenced from XML. (The RelativeLayout editor
923automatically assigns ids to views without ids when pointing to them.)</li>
924 <li>Added ability to export screenshots from the Layout Editor</li>
925 </ul>
926 </dd>
927
928 <dt>Bug fixes:</dt>
929 <dd>
930 <ul>
931 <li>Fixed problem using Layout Editor with {@link android.widget.SlidingDrawer} which could
932 not be dragged into the layout on some platforms.</li>
Joe Fernandez67e6e0e2012-07-13 17:31:31 -0700933 <li>Fixed preview rendering for {@link android.widget.SlidingDrawer} and
Scott Main50e990c2012-06-21 17:14:39 -0700934 {@link android.widget.TabHost}.
935 (<a href="http://code.google.com/p/android/issues/detail?id=23022">Issue 23022</a>).</li>
936 <li>Fixed issues that could prevent layout rendering due to unresolvable resources.
937 (<a href="http://code.google.com/p/android/issues/detail?id=21046">Issue 21046</a>,
938 <a href="http://code.google.com/p/android/issues/detail?id=21051">Issue 21051</a>)</li>
939 <li>Fixed a bug in resource chooser which made some types of framework resources impossible to
940select. (<a href="http://code.google.com/p/android/issues/detail?id=20589">Issue 20589</a>)</li>
941 <li>Fixed a bug in the formatter where a certain whitespace pattern could result in a
942 non-space character getting deleted.
943 (<a href="http://code.google.com/p/android/issues/detail?id=23940">Issue 23940</a>)</li>
944 <li>Fixed a locale bug affecting Turkish locales in particular.
945 (<a href="http://code.google.com/p/android/issues/detail?id=23747">Issue 23747</a>)</li>
Scott Main52bfaaf2012-11-12 19:39:58 -0800946 <li>Fixed an issue where dex complains about duplicate classes in cases where a Library
Scott Main50e990c2012-06-21 17:14:39 -0700947 Project depends on the same jar files or Java-only projects.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -0800948 <li>Fixed an issue where test projects had to independently reference the library projects
949 used by an app project. Now referencing only the app project is enough.</li>
Scott Main50e990c2012-06-21 17:14:39 -0700950 </ul>
951 </dd>
952
953</dl>
954
955</div>
956</div>
957
Scott Main52bfaaf2012-11-12 19:39:58 -0800958<div class="toggle-content closed">
959 <p><a href="#" onclick="return toggleContent(this)">
960 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
961 alt=""/>ADT 16.0.1</a> <em>(December 2011)</em>
962 </p>
963
964 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -0700965<dl>
966 <dt>Dependencies:</dt>
967
968 <dd>
969 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -0700970 <li>Eclipse Helios (Version 3.6) or higher is required.</li>
971 <li>This version of ADT is designed for use with
972 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r16</a>.
973 If you haven't already installed SDK Tools r16 into your SDK, use the Android SDK
Scott Main50e990c2012-06-21 17:14:39 -0700974 Manager to do so.</li>
975 </ul>
976 </dd>
977
978 <dt>Bug fixes:</dt>
979 <dd>
980 <ul>
981 <li>Fixed build issue where the 9-patch could be packaged as normal bitmap in some cases.</li>
982 <li>Fixed minor issues in the <a href="http://tools.android.com/recent/lint">Lint</a>
983 tool.</li>
984 <li>Fixed minor issues in the SDK Manager.</li>
985 </ul>
986 </dd>
987</dl>
988
989</div>
990</div>
991
992
Scott Main52bfaaf2012-11-12 19:39:58 -0800993<div class="toggle-content closed">
994 <p><a href="#" onclick="return toggleContent(this)">
995 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
996 alt=""/>ADT 16.0.0</a> <em>(December 2011)</em>
997 </p>
998
999 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001000<dl>
1001 <dt>Dependencies:</dt>
1002
1003 <dd>
1004 <ul>
Joe Fernandez452ff4802013-07-26 11:26:47 -07001005 <li>Eclipse Helios (Version 3.6) or higher is required for ADT 16.0.0.</li>
1006 <li>This version of ADT is designed for use with
1007 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r16</a>.
1008 If you haven't already installed SDK Tools r16 into your SDK, use
1009 the Android SDK Manager to do so.</li>
Scott Main50e990c2012-06-21 17:14:39 -07001010 </ul>
1011 </dd>
1012
1013 <dt>General improvements:</dt>
1014 <dd>
1015 <ul>
1016 <li>Added Lint tool to detect common errors in Android projects. (<a
1017href="http://tools.android.com/recent/lint">more info</a>)</li>
1018 </ul>
1019 </dd>
1020</dl>
1021
1022</div>
1023</div>
1024
1025
Scott Main52bfaaf2012-11-12 19:39:58 -08001026<div class="toggle-content closed">
1027 <p><a href="#" onclick="return toggleContent(this)">
1028 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1029 alt=""/>ADT 15.0.1</a> <em>(November 2011)</em>
1030 </p>
1031
1032 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001033<dl>
1034 <dt>Dependencies:</dt>
1035
Joe Fernandez452ff4802013-07-26 11:26:47 -07001036 <dd>This version of ADT is designed for use with
1037 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r15</a>.
1038 If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK Manager to
1039 do so.</dd>
Scott Main50e990c2012-06-21 17:14:39 -07001040
1041 <dt>Bug fixes:</dt>
1042 <dd>
1043 <ul>
1044 <li>Fixed how source files are attached to library project <code>.jar</code> files.</li>
1045 <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>
1046 <li>Fixed how a parent project's library container is updated when a library project is recompiled. This ensures that parent projects are
1047 recompiled when code in a library project changes.</li>
1048 <li>Fixed how <code>res/</code> folders are checked in library projects. This ensures that all <code>res</code> folders are properly included
1049 even if Eclipse is not aware of them due to refresh issues.</li>
1050 <li>Fixed issue that prevented <code>aapt</code> from running when editing certain XML files.</li>
1051 <li>Fixed minor XML formatting issues.</li>
1052 </ul>
1053 </dd>
1054</dl>
1055
1056</div>
1057</div>
1058
1059
1060
Scott Main52bfaaf2012-11-12 19:39:58 -08001061<div class="toggle-content closed">
1062 <p><a href="#" onclick="return toggleContent(this)">
1063 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1064 alt=""/>ADT 15.0.0</a> <em>(October 2011)</em>
1065 </p>
1066
1067 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001068<dl>
1069
1070<dt>Dependencies:</dt>
1071
Joe Fernandez452ff4802013-07-26 11:26:47 -07001072<dd>This version of ADT is designed for use with
1073 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r15</a>.
1074 If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK Manager to
1075 do so.</dd>
Scott Main50e990c2012-06-21 17:14:39 -07001076
1077<dt>Bug fixes:</dt>
1078<dd>
1079<ul>
Joe Fernandez8bed7492013-07-26 15:32:10 -07001080 <li>Fixed build issue when using RenderScript in projects that target API levels 11-13
Scott Main50e990c2012-06-21 17:14:39 -07001081 (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li>
1082 <li>Fixed issue when creating projects from existing source code.</li>
1083 <li>Fixed issues in the SDK Manager
1084 (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>,
1085 <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001086 <li>Fixed a scrolling issue in the new Logcat panel of DDMS.</li>
Scott Main50e990c2012-06-21 17:14:39 -07001087</ul>
1088</dd>
1089</dl>
1090
1091</div>
1092</div>
1093
Scott Main52bfaaf2012-11-12 19:39:58 -08001094<div class="toggle-content closed">
1095 <p><a href="#" onclick="return toggleContent(this)">
1096 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1097 alt=""/>ADT 14.0.0</a> <em>(October 2011)</em>
1098 </p>
1099
1100 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001101<dl>
1102
1103<dt>Dependencies:</dt>
1104
Joe Fernandez452ff4802013-07-26 11:26:47 -07001105<dd>This version of ADT is designed for use with
1106 <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r14</a>.
1107 If you haven't already installed SDK Tools r14 into your SDK, use the Android SDK Manager to
1108 do so.</dd>
Scott Main50e990c2012-06-21 17:14:39 -07001109
1110<dt>Build system:</dt>
1111<dd>
1112 <ul>
1113 <li>Changed <code>default.properties</code> to <code>project.properties</code> and
1114 <code>build.properties</code> to <code>ant.properties</code>. ADT automatically
1115 renames these files, if necessary, when you open a project in Eclipse.</li>
1116 <li>Changed how library projects are built in Eclipse.</a></li>
1117 <li>Changed output of <code>javac</code> from <code>bin/</code> to <code>bin/classes</code>
1118 in Eclipse.</li>
1119 <li>Improved incremental builds so that resource compilation runs less frequently. Builds no
1120 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer
1121 run once for each library project.</li>
1122 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of
1123 crunching all existing PNG files, all the time.</li>
1124 <li>Modified resource compilation so it no longer happens for normal save operations. It only
1125 happens when running or debugging (the build option that lets you disable the packaging
1126 step, which was introduced in ADT 12, is now on by default.)</li>
1127 </ul>
1128<p>For a complete overview of the build system changes and what you need to do to support them,
1129see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project
1130site</a>.</p>
1131</dd>
1132
1133<dt>General improvements:</dt>
1134<dd>
1135 <ul>
1136
1137
1138<li>Added a Welcome Wizard to help with the initial setup of the Android
1139development environment (<a href="http://tools.android.com/recent/welcomewizard">more
1140info</a>).</li>
1141<li>Integrated the Android Asset Studio, which helps you create icons for things
1142like the launcher, menus, and tabs. (<a
1143href="http://tools.android.com/recent/assetstudiointegration">more
1144info</a>).</li>
1145<li>Revamped the Logcat view and added support to display and filter logs by
1146 application names as well as PIDs (<a
1147 href="http://tools.android.com/recent/updatedlogcatviewer">more info</a>).</li>
1148<li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more
1149info</a>).</li>
1150<li>Revamped the New Project and the New XML File wizards to have
1151multiple pages. Sample projects are now copied into the workspace such that they can be modified
1152and deleted without affecting the master copy
1153(<a href="http://tools.android.com/recent/revampedwizards">more info</a>).</li>
1154<li>Removed the dependency on Eclipse GEF.</li>
1155</ul>
1156</dd>
1157
1158<dt>XML and Java editors:</dt>
1159<dd>
1160 <ul>
1161 <li>Added a new XML formatter that formats all XML files according to the
1162 standard Android coding style. The formatter can also reorder
1163 attributes to follow a recommended order and processes any changes made in the Layout editor.
1164(<a href="http://tools.android.com/recent/xmlformatter">more info</a>).</li>
1165 <li>Added the "Go to Matching" (Ctrl-Shift-P) feature, which lets you jump
1166between opening and closing tags in XML files.</li>
1167 <li>Added support for the "Select Enclosing Element" feature on Mac.</li>
1168 <li>Added a Quickfix for extracting Strings when the caret is inside a String (<a href="">see
1169more</a>).</li>
1170 <li>Improved "smart indent", which allows automatic indentation and un-indentation
1171 when pressing the Return key in XML editors (<a
1172href="http://tools.android.com/recent/xmleditingimprovements">more info</a>).</li>
1173
1174 </ul>
1175</dd>
1176
1177<dt>Layout editor:</dt>
1178<dd>
1179 <ul>
1180 <li>Added tooltip feedback for dragging and resizing operations. For
1181 example, when dragging in a relative layout, the proposed
1182 constraints are shown. When resizing, the new dimensions are
1183 shown (<a href="http://tools.android.com/recent/layouteditorfeedbacktooltips">more
1184info</a>).</li>
1185 <li>Added the ability to suppress rendering fidelity warnings (<a
1186href="http://tools.android.com/recent/suppressrenderwarnings">more info</a>).</li>
1187 <li>Added "Remove Container" visual refactoring that removes the
1188 children of a container up to the top level and transfers
1189 namespace and layout attributes if necessary (<a
1190href="http://tools.android.com/recent/removecontainervisualrefactoring">more info</a>).</li>
1191 <li>Added pull-right menus to the context menu for accessing
1192 properties of the parents, which is useful when the children fully
1193 cover the parent and make it hard to select on their own.</li>
1194 <li>Improved access to properties in the context menu. The most
1195 frequently set attributes for each view are listed at the top of
1196 the menu. The Properties menu offers access to the most
1197 recently set attributes, attributes organized by their defining
1198 view, and layout attributes only or all attributes alphabetically (<a
1199href="http://tools.android.com/recent/layouteditorcontextmenuimprovements">more info</a>).</li>
1200 </ul>
1201</dd>
1202
1203<dt>Bug fixes:</dt>
1204<dd>Fixed many bugs and added <a
1205href="http://tools.android.com/recent/miscellaneousrecentfixes">minor improvements</a>, in
1206particular some <a href="http://tools.android.com/recent/linuxfixes">critical bug fixes on
1207Linux</a>.</dd>
1208
1209</div>
1210</div>
1211
1212
1213
Scott Main52bfaaf2012-11-12 19:39:58 -08001214<div class="toggle-content closed">
1215 <p><a href="#" onclick="return toggleContent(this)">
1216 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1217 alt=""/>ADT 12.0.0</a> <em>(July 2011)</em>
1218 </p>
1219
1220 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001221<dl>
1222
1223<dt>Dependencies:</dt>
1224
Joe Fernandez452ff4802013-07-26 11:26:47 -07001225<dd>This version of ADT is designed for use with
1226<a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r12</a>. If you haven't
Scott Main50e990c2012-06-21 17:14:39 -07001227already installed SDK Tools r12 into your SDK, use
1228the Android SDK Manager to do so.</dd>
1229
1230<dt>Visual Layout Editor:</dt>
1231<dd>
1232<ul>
1233 <li>New RelativeLayout drop support with guideline suggestions for
1234 attachments and cycle prevention
1235 (<a href="http://tools.android.com/recent/revampedrelativelayoutsupport">more info</a>).</li>
1236 <li>Resize support in most layouts along with
1237 guideline snapping to the sizes dictated by <code>wrap_content</code> and <code>match_parent</code>.
1238 In LinearLayout, sizes are mapped to weights instead of pixel widths.
1239 (<a href="http://tools.android.com/recent/resizesupport">more info</a>).</li>
1240 <li>Previews of drawables and colors in the resource chooser dialogs
1241 (<a href="http://tools.android.com/recent/imageandcolorpreviews">more info</a>).</li>
1242 <li>Improved error messages and links for rendering errors including
1243 detection of misspelled class names
1244 (<a href="http://tools.android.com/recent/improvedrenderingerrordiagnostics">more info</a>).</li>
1245</ul>
1246</dd>
1247
1248<dt>Build system:</dt>
1249<dd>
1250<ul>
1251 <li id="build-option">A new option lets you disable the packaging step in the automatic
1252 builders. This improves performance when saving files by not
1253 performing a full build, which can take a long time for large projects.
1254 If the option is enabled, the APK is packaged when the
1255 application is deployed to a device or emulator or when the
1256 release APK is exported (<a href="http://tools.android.com/recent/finercontroloveradtbuildprocess">more info</a>).</li>
1257</ul>
1258</dd>
1259
1260<dt>Bug fixes:</dt>
1261<dd>Many bug fixes are part of this release
1262(<a href="http://tools.android.com/recent/adt12bugfixroundup">more info</a>).</dd>
1263
1264</div>
1265</div>
1266
1267
Scott Main52bfaaf2012-11-12 19:39:58 -08001268<div class="toggle-content closed">
1269 <p><a href="#" onclick="return toggleContent(this)">
1270 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1271 alt=""/>ADT 11.0.0</a> <em>(June 2011)</em>
1272 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001273
Scott Main52bfaaf2012-11-12 19:39:58 -08001274 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001275<dl>
1276
1277<dt>Dependencies:</dt>
1278
Joe Fernandez452ff4802013-07-26 11:26:47 -07001279<dd>This version of ADT is designed for use with SDK Tools r11. If you haven't
Scott Main50e990c2012-06-21 17:14:39 -07001280already installed SDK Tools r11 into your SDK, use the Android SDK Manager to do
1281so.</dd>
1282
1283<dt>Visual Refactoring:</dt>
1284<dd>
1285 <ul>
1286 <li>"Extract Style" feature pulls out style-related attributes from your layout and extracts
1287them as a new style defined in {@code styles.xml} (<a
1288href="http://tools.android.com/recent/extractstylerefactoring">more info</a>).</li>
1289 <li>"Wrap in Container" feature lets you select a group of views then surround them
1290 in a new layout (a new view group, such as a LinearLayout), and transfers namespace and layout
1291 parameters to the new parent (<a
1292href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
1293info</a>).</li>
1294 <li>"Change Layout" feature changes layouts from one type
1295 to another, and can also flatten a layout hierarchy (<a
1296href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
1297info</a>).</li>
1298 <li>"Change Widget Type" feature changes the type of the
1299 selected views to a new type. Also, a new selection context menu
1300 in the visual layout editor makes it easy to select siblings as
1301 well as views anywhere in the layout that have the same type (<a
1302href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more
1303info</a>).</li>
1304 <li>"Extract as Include" feature finds identical collections of views
1305 in other layouts and offers to combine them into a single layout that you can then include in
1306 each layout (<a
1307href="http://tools.android.com/recent/extractasincludeimprovements">more info</a>).</li>
1308 <li>Quick Assistant in Eclipse can be invoked
1309 from the XML editor (with Ctrl-1) to apply any of the above
1310 refactorings (and Extract String) to the current selection (<a
1311href="http://tools.android.com/recent/refactoringquickassistant">more info</a>).</li>
1312 </ul>
1313</dd>
1314
1315<dt>Visual Layout Editor:</dt>
1316<dd>
1317 <ul>
1318 <li>This is the update to the layout editor you've been waiting for! It includes (almost) all
1319the goodies demonstrated at Google I/O. <a href="http://www.youtube.com/watch?v=Oq05KqjXTvs">Watch
1320the video</a> on YouTube.</li>
1321 <li>The palette now supports different configurations for supported widgets. That is, a single
1322view is presented in various different configurations that you can drag into your layout. For
1323example, there is a <em>Text Fields</em> palette category where you can drag an {@link
1324android.widget.EditText} widget in as a password field, an e-mail field, a phone field, or other
1325types of text boxes. Similarly, {@link android.widget.TextView} widgets are preconfigured
1326with large, normal and small theme sizes, and {@link android.widget.LinearLayout} elements are
1327preconfigured in horizontal and vertical configurations (<a
1328href="http://tools.android.com/recent/multipletextfieldandlayouttypes">more info</a>).</li>
1329 <li>The palette supports custom views. You can pick up any custom
1330 implementations of the View class you've created in your project or from included libraries and
1331drag them into your layout (<a
1332href="http://tools.android.com/recent/customviewsinthepalette">more info</a>).</li>
1333 <li>Fragments are available in the palette for placement in your layout. In the tool, you can
1334choose which layout to show rendered for a given fragment tag. Go to declaration works for fragment
1335classes (<a href="http://tools.android.com/recent/fragmentsupport">more info</a>).</li>
1336 <li>The layout editor automatically applies a "zoom to fit" for newly
1337 opened files as well as on device size and orientation changes to
1338 ensure that large layouts are always fully visible unless you
1339 manually zoom in.</li>
1340 <li>You can drop in an {@code &lt;include&gt;} element from the palette, which will pop up
1341 a layout chooser. When you select the layout to include, it is added with an {@code
1342&lt;include&gt;}. Similarly, dropping images or image buttons will pop up image
1343 resource choosers (<a
1344href="http://tools.android.com/recent/includetagdropsupport">more info</a>).</li>
1345 <li>The configuration chooser now applies the "Render Target" and
1346 "Locale" settings project wide, making it trivial to check the
1347 layouts for different languages or render targets without having
1348 to configure these individually for each layout.</li>
1349 <li>The layout editor is smarter about picking a default theme to
1350 render a layout with, consulting factors like theme registrations
1351 in the manifest, the SDK version, and other factors.</li>
1352 <li>The layout editor is smarter about picking a default configuration to render a layout
1353with, defaulting to the currently visible configuration in the previous file. It also considers the
1354SDK target to determine whether to default to a tablet or phone screen size.</li>
1355 <li>Basic focus support. The first text field dropped in a layout is assigned focus, and there
1356are <strong>Request Focus</strong> and <strong>Clear Focus</strong> context menu items on text
1357fields to change the focus.</li>
1358 </ul>
1359</dd>
1360
1361<dt>XML editors:</dt>
1362<dd>
1363<ul>
1364 <li>Code completion has been significantly improved. It now works
1365 with {@code &lt;style&gt;} elements, completes dimensional units,
1366 sorts resource paths in values based on the attribute name, and more. There are also many fixes to
1367handle text replacement (<a
1368href="http://tools.android.com/recent/xmlcodecompletionimprovements">more info</a>).</li>
1369 <li>AAPT errors are handled better. They are now underlined for the
1370 relevant range in the editor, and a new quickfix makes it trivial
1371 to create missing resources.</li>
1372 <li>Code completion for drawable, animation and color XML files (<a
1373href="http://tools.android.com/recent/codecompletionfordrawablescolorsandanimationfiles">more
1374info</a>).</li>
1375</ul>
1376</dd>
1377
1378<dt>DDMS:</dt>
1379<dd>
1380<ul>
1381 <li>"New Folder" action in the File Explorer.</li>
1382 <li>The screenshot dialog will add timestamps to the filenames and preserve the orientation on
1383snapshot refresh.</li>
1384</ul>
1385</dd>
1386
1387<dt>General notes:</dt>
1388<dd>
1389 <ul>
1390 <li>TraceView supports zooming with the mouse-wheel in the timeline.</li>
1391 <li>The New Android Project wizard now supports Eclipse working sets.</li>
1392 </ul>
1393</dd>
1394</dl>
1395<p>More information about tool changes are available on the <a
1396href="http://tools.android.com/recent">Android Tools Project Site</a>.</p>
1397</div>
1398</div>
1399
1400
1401
1402
1403
Scott Main52bfaaf2012-11-12 19:39:58 -08001404<div class="toggle-content closed">
1405 <p><a href="#" onclick="return toggleContent(this)">
1406 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1407 alt=""/>ADT 10.0.1</a> <em>(March 2011)</em>
1408 </p>
1409
1410 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001411
1412<dl>
1413
1414<dt>Dependencies:</dt>
1415
Joe Fernandez452ff4802013-07-26 11:26:47 -07001416<dd>This version of ADT is designed for use with SDK Tools r10. If you haven't
Scott Main50e990c2012-06-21 17:14:39 -07001417already installed SDK Tools r10 into your SDK, use the Android SDK Manager to do
1418so.</dd>
1419
1420<dt>General notes:</dt>
1421<dd>
1422 <ul>
1423 <li>Temporary work-around to resolve the rare cases in which the layout editor will
1424not open.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001425 <li>Fixed an issue in which ADT 10.0.0 would install on Eclipse 3.4 and lower, even though ADT
Scott Main50e990c2012-06-21 17:14:39 -07001426requires Eclipse 3.5 or higher (as of 10.0.0).</li>
1427 </ul>
1428</dd>
1429</dl>
1430</div>
1431</div>
1432
1433
1434
Scott Main52bfaaf2012-11-12 19:39:58 -08001435<div class="toggle-content closed">
1436 <p><a href="#" onclick="return toggleContent(this)">
1437 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1438 alt=""/>ADT 10.0.0</a> <em>(February 2011)</em>
1439 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001440
Scott Main52bfaaf2012-11-12 19:39:58 -08001441 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001442<dl>
1443
1444<dt>Dependencies:</dt>
1445
Joe Fernandez452ff4802013-07-26 11:26:47 -07001446<dd>This version of ADT is designed for use with SDK Tools r10. If you haven't
Scott Main50e990c2012-06-21 17:14:39 -07001447already installed SDK Tools r10 into your SDK, use the Android SDK Manager to do
1448so.</dd>
1449
1450<dt>General notes:</dt>
1451<dd>
1452 <ul>
1453 <li>The tools now automatically generate Java Programming Language source files (in the <code>gen/</code> directory) and
1454 bytecode (in the <code>res/raw/</code> directory) from your <code>.rs</code> files.</li>
1455 <li>A Binary XML editor has been added (<a href="http://tools.android.com/recent/binaryxmleditor">details</a>).</li>
1456 <li>Traceview is now integrated into the Eclipse UI (<a href="http://tools.android.com/recent/traceviewineclipse">details</a>).</li>
1457 <li>The "Go To Declaration" feature for XML and <code>.java</code> files quickly show all the matches in the project
1458 and allows you jump to specific items such as string translations or <code>onClick</code> handlers
1459 (<a href="http://tools.android.com/recent/gotodeclarationimprovements">details</a>).</li>
1460 <li>The Resource Chooser can create items such as dimensions, integers, ids, and booleans
1461 (<a href="http://tools.android.com/recent/resourcechoosercannowcreatearbitraryvalues">details</a>).</li>
1462 <li>Improvements to the Visual Layout Editor:
1463 <ul>
1464 <li>A new Palette with categories and rendering previews
1465 (<a href="http://tools.android.com/recent/newpalette">details</a>).</li>
1466 <li>A Layout Actions bar that provides quick access to common layout operations
1467 (<a href="http://tools.android.com/recent/layoutactionsbar">details</a>).</li>
1468 <li>When the Android 3.0 rendering library is selected, layouts render more like they do on devices.
1469 This includes rendering of status and title bars to more accurately reflect the actual
1470 screen space available to applications
1471 (<a href="http://tools.android.com/recent/systembarandactionbar">details</a>).</li>
1472 <li>Zoom improvements such as fit to view, persistent scale, and keyboard access.
1473 (<a href="http://tools.android.com/recent/zoomimprovements">details</a>).</li>
1474 <li>Further improvements to <code>&lt;merge&gt;</code> layouts, as well as layouts with gesture overlays
1475 (<a href="http://tools.android.com/recent/improvedsupportformergetags">details</a>).</li>
1476 <li>Improved rendering error diagnostics.</li>
1477 </ul>
1478 </li>
1479 </ul>
1480</dd>
1481</dl>
1482</div>
1483</div>
1484
Scott Main52bfaaf2012-11-12 19:39:58 -08001485<div class="toggle-content closed">
1486 <p><a href="#" onclick="return toggleContent(this)">
1487 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1488 alt=""/>ADT 9.0.0</a> <em>(January 2011)</em>
1489 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001490
Scott Main52bfaaf2012-11-12 19:39:58 -08001491 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001492<dl>
1493
1494<dt>Dependencies:</dt>
1495
Joe Fernandez452ff4802013-07-26 11:26:47 -07001496<dd>This version of ADT is designed for use with SDK Tools r9. If you haven't
Scott Main50e990c2012-06-21 17:14:39 -07001497already installed SDK Tools r9 into your SDK, use the Android SDK Manager to do
1498so.</dd>
1499
1500<dt>General notes:</dt>
1501<dd>
1502 <ul>
1503 <li>"Go To Declaration" hyperlink support: You can jump directly from code references (such as
1504 <code>R.id.main</code>) to the corresponding XML declaration, or from XML attributes (such as
1505 <code>@string</code>) to the corresponding resource definition, or from manifest XML
1506 registrations to activities and services.</li>
1507 <li>Improvements were made to name refactoring.</li>
1508 <li>AVDs now automatically save their state, so they can restart almost instantly. You can enable this feature when
1509 creating an AVD or by editing an AVD with the AVD Manager.</li>
1510 <li>Improvements to the Visual Layout Editor:
1511 <ul>
1512 <li>Support for rendering targets: You can now choose an arbitrary Android platform to
1513 render the current page, regardless of the project's minimum platform. This makes it
1514 easy to verify the layout and appearance of your activity on different versions of
1515 the platform.
1516 </li>
1517 <li>Improved support for empty and nested layouts: Dragging items over nested and
1518 invisible layouts automatically enlarges and highlights these layouts, so that they
1519 can receive drops.
1520 </li>
1521 <li>XML formatting improvements: The editor generates cleaner XML and you can now enable
1522 XML auto-formatting in the <strong>Preferences</strong> menu.</li>
1523 <li>Improved Outline labels: The Outline tab now displays additional information about each
1524 View. Textual Views display a snippet of the actual text. Views with a source
1525 (such as ImageView) displays the resource name. Included Views display the name of the View.
1526 </li>
1527 <li>When you right click a View in the Layout Editor,
1528 the context menu now contains <strong>Edit ID...</strong> and <strong>Edit Text...</strong>
1529 items. The <strong>Properties...</strong> context menus now list all of the properties and
1530 provide a way to edit them
1531 (<a href="http://tools.android.com/recent/editidtextandotherpropertiesviamenu">Details</a>).
1532 </li>
1533 <li>The layout editor now properly handles
1534 <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"><code>&lt;include&gt;</code></a>
1535 and <a href="{@docRoot}guide/topics/resources/layout-resource.html#merge-element"><code>&lt;merge&gt;</code></a>
1536 tags (<a href="http://tools.android.com/recent/supportforincludeandmerge">Details</a>).</li>
1537 <li>"Extract as Include" refactoring: The Layout Editor has a new refactoring that allows
1538 you to select one or more views in a layout, and extract it into a separate layout
1539 (<a href="http://tools.android.com/recent/extractasincluderefactoring">Details</a>).</li>
1540 <li>Improved diagnostics for class loading and rendering errors: Class loading and rendering
1541 error messages are more useful and provide better information about the root cause of the
1542 error.</li>
1543 <li>Improved error handling to prevent drag and reordering operations from adding children
1544 into an {@link android.widget.AdapterView}.</li>
1545 <li>Outline reordering: Reordering your views in the Outline tab is much easier
1546 (<a href="http://tools.android.com/recent/outlineimprovements">Details</a>).</li>
1547 <li>Fix for keybinding bug where keyboard shortcuts did not work (Issues
1548 <a href="http://code.google.com/p/android/issues/detail?id=13231">13231</a> and
1549 <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li>
1550 <li>Fix for problems with Custom layout attribute menu (Issue
1551 <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li>
1552 <li>Automatic configuration for various view types: Certain views have properties configured
1553 by default. For example, the width of an {@link android.widget.EditText} object is set to
1554 <code>match_parent</code> when added to a vertical {@link android.widget.LinearLayout}
1555 or a default image is added to an {@link android.widget.ImageButton}.</li>
1556 <li>Previews during dragging: Dragging from the palette or dragging within the layout editor
1557 now shows live previews of the dragged item.</li>
1558 <li>Navigation improvements: In the Layout Editor, double-clicking Views jumps to the
1559 corresponding XML element. In the Outline view, double-clicking opens the Properties view.</li>
1560 <li>The editor has Honeycomb style animation preview support.</li>
1561 <li>Improved rendering support for various Views (such as TabHosts and SlidingDrawers) in
1562 Honeycomb (Issues <a href="http://code.google.com/p/android/issues/detail?id=3162">3162</a>
1563 and <a href="http://code.google.com/p/android/issues/detail?id=13092">13092</a>).</li>
1564 <li>Included layouts can be rendered and edited in the context of the layouts that include
1565 them. From a layout using an <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element">
1566 <code>&lt;include&gt;</code></a> tag, double-clicking on the
1567 <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element">
1568 <code>&lt;include&gt;</code></a> element edits the referenced layout in the context of the
1569 current layout. Additionally, when editing a layout that is included by other layouts,
1570 you can quickly change between context layouts, by right clicking in the editor and choosing
1571 <strong>Show included in...</strong>. This feature is only available in Honeycomb.</li>
1572 </ul>
1573 </li>
1574 <li>This release fixes many other bugs, but the most important ones are listed below:
1575 <ul>
1576 <li>Fixed issue that prevented launching debug builds on productions devices when
1577 <code>debuggable=true</code> was not set in the Android manifest.</li>
1578 <li>The LogCat view in DDMS properly handles UTF-8 characters.</li>
1579 <li>The SDK Manager is more reliable on Windows
1580 (<a href="http://tools.android.com/recent/sdkmanagerfixes">Details</a>).</li>
1581 <li>A JUnit initialization bug that prevented you from working with JUnit tests was fixed
1582 (Issue <a href="http://code.google.com/p/android/issues/detail?id=12411">12411</a>).</li>
1583 </ul>
1584</li>
1585 </ul>
1586</dd>
1587</dl>
1588</div>
1589</div>
1590
1591
1592
1593
Scott Main52bfaaf2012-11-12 19:39:58 -08001594<div class="toggle-content closed">
1595 <p><a href="#" onclick="return toggleContent(this)">
1596 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1597 alt=""/>ADT 8.0.1</a> <em>(December 2010)</em>
1598 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001599
Scott Main52bfaaf2012-11-12 19:39:58 -08001600 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001601<dl>
1602
1603<dt>Dependencies:</dt>
1604
Joe Fernandez452ff4802013-07-26 11:26:47 -07001605<p>This version of ADT is designed for use with SDK Tools r8. If you haven't
Scott Main50e990c2012-06-21 17:14:39 -07001606already installed SDK Tools r8 into your SDK, use the Android SDK Manager to do
1607so.</p></dd>
1608
1609<dt>General notes:</dt>
1610<dd>
1611<ul>
1612 <li>This is a quick follow-up to ADT 8.0.0 to fix some bugs.</li>
1613 <li>Fixes an issue in which projects failed to compile, citing a dex error.</li>
1614 <li>Better ProGuard error reporting when exporting applications for release.</li>
1615</ul>
1616<p>Also see the recent release notes for 8.0.0, below.</p>
1617</dd>
1618</dl>
1619</div>
1620</div>
1621
1622
Scott Main52bfaaf2012-11-12 19:39:58 -08001623<div class="toggle-content closed">
1624 <p><a href="#" onclick="return toggleContent(this)">
1625 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1626 alt=""/>ADT 8.0.0</a> <em>(December 2010)</em>
1627 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001628
Scott Main52bfaaf2012-11-12 19:39:58 -08001629 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001630<dl>
1631
1632<dt>Dependencies:</dt>
1633
Joe Fernandez452ff4802013-07-26 11:26:47 -07001634<p>This version of ADT is designed for use with SDK Tools r8. If you haven't
Scott Main50e990c2012-06-21 17:14:39 -07001635already installed SDK Tools r8 into your SDK, use the Android SDK Manager to do
1636so.</p></dd>
1637
1638<dt>General notes:</dt>
1639<dd>
1640<ul>
1641 <li>New version number scheme that follows the SDK Tools revision number. The major version
1642number for your ADT plugin should now always match the revision number of your SDK Tools. For
1643example, ADT 8.x is for SDK Tools r8.</li>
1644 <li>Support for true debug build. You no longer need to change the value of the
1645 <code>debuggable</code> attribute in the Android Manifest.
1646 <p>Incremental builds automatically insert <code>debuggable="true"</code>, but if you perform
1647 "export signed/unsigned application package", ADT does <em>not</em> insert it.
1648 If you manually set <code>debuggable="true"</code> in the manifest file, then release builds will
1649 actually create a debug build (it does not remove it if you placed it there).</p></li>
1650 <li>Automatic <a href="{@docRoot}tools/help/proguard.html">ProGuard</a> support in
1651 release builds. For it to work, you need to have a <code>proguard.config</code>
1652 property in the <code>default.properties</code> file that points to a ProGuard config file.</li>
1653 <li>Completely rewritten Visual Layout Editor. (This is still a work in progress.) Now includes:
1654 <ul>
1655 <li>Full drag and drop from palette to layout for all Layout classes.</li>
1656 <li>Move widgets inside a Layout view, from one Layout view to another and from one layout file to another.</li>
1657 <li>Contextual menu with enum/flag type properties.</li>
1658 <li>New zoom controls.</li>
1659 </ul></li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001660 <li>New HierarchyViewer plugin for Eclipse.</li>
1661 <li>Android launch configurations no longer recompile the whole workspace on launch.</li>
1662 <li>The location of <code>android.jar</code> source and javadoc can now be configured.</li>
Scott Main50e990c2012-06-21 17:14:39 -07001663</ul>
1664</dd>
1665</dl>
1666 </div>
1667</div>
1668
1669
Scott Main52bfaaf2012-11-12 19:39:58 -08001670<div class="toggle-content closed">
1671 <p><a href="#" onclick="return toggleContent(this)">
1672 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1673 alt=""/>ADT 0.9.9</a> <em>(September 2010)</em>
1674 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001675
Scott Main52bfaaf2012-11-12 19:39:58 -08001676 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001677<dl>
1678
1679<dt>Dependencies:</dt>
1680
1681<dd><p>ADT 0.9.9 replaces ADT 0.9.8 and is designed for use with SDK Tools r7
1682and later. ADT 0.9.9 includes the ADT 0.9.8 features as well as an important
1683bugfix, so we recommend that you upgrade as soon as possible. If you haven't
1684already installed SDK Tools r7 into your SDK, use the Android SDK Manager to do
1685so.</p></dd>
1686
1687<dt>General notes:</dt>
1688<dd>
1689<ul>
1690<li>Fixes a problem in project import, in which source files were deleted in some cases.</li>
1691<li>Includes all other ADT 0.9.8 features (see below).</li>
1692</ul>
1693</dd>
1694</dl>
1695 </div>
1696</div>
1697
Scott Main52bfaaf2012-11-12 19:39:58 -08001698<div class="toggle-content closed">
1699 <p><a href="#" onclick="return toggleContent(this)">
1700 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1701 alt=""/>ADT 0.9.8</a> <em>(September 2010)</em>
1702 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001703
Scott Main52bfaaf2012-11-12 19:39:58 -08001704 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001705</ul>
1706</dd>
1707
1708<dl>
1709
1710<dt>Dependencies:</dt>
1711
1712<dd><p>ADT 0.9.8 is now deprecated. Please use ADT 0.9.9 instead.</p></dd>
1713
1714<dt>General notes:</dt>
1715<dd>
1716<ul>
1717<li>Adds a new Action, "Rename Application Package", to the Android Tools
1718contextual menu. The Action does a full application package refactoring.
1719<li>Adds support for library projects that don't have a source folder
1720called <code>src/</code>. There is now support for any number of source folders,
1721with no name restriction. They can even be in subfolder such as
1722<code>src/java</code>. If you are already working with library projects created
1723in ADT 0.9.7, see <a
1724href="{@docRoot}tools/projects/index.html#libraryMigrating">Migrating
1725library projects to ADT 0.9.8</a> for important information about moving
1726to the new ADT environment.</li>
1727<li>Adds support for library projects that depend on other library
1728projects.</li>
1729<li>Adds support for additional resource qualifiers:
1730<code>car</code>/<code>desk</code>, <code>night</code>/<code>notnight</code> and
1731<code>navexposed</code>/<code>navhidden</code>.</li>
1732<li>Adds more device screen types in the layout editor. All screen
1733resolution/density combinations listed in the <a
1734href="{@docRoot}guide/practices/screens_support.html#range">Supporting
1735Multiple Screens</a> are now available.</li>
1736<li>Fixes problems with handling of library project names that
1737contain characters that are incompatible with the Eclipse path variable.
Scott Main52bfaaf2012-11-12 19:39:58 -08001738Now it properly sets up the link between the main project and the library
Scott Main50e990c2012-06-21 17:14:39 -07001739project.</li>
1740</ul>
1741</dd>
1742</dl>
1743 </div>
1744</div>
1745
1746
Scott Main52bfaaf2012-11-12 19:39:58 -08001747<div class="toggle-content closed">
1748 <p><a href="#" onclick="return toggleContent(this)">
1749 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1750 alt=""/>ADT 0.9.7</a> <em>(May 2010)</em>
1751 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001752
Scott Main52bfaaf2012-11-12 19:39:58 -08001753 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001754<dl>
1755<dt>Library projects:</dt>
1756<dd>
1757<p>The ADT Plugin now supports the use of <em>library projects</em> during
1758development, a capability that lets you store shared Android application
1759code and resources in a separate development project. You can then reference the
1760library project from other Android projects and, at build time, the tools
1761compile the shared code and resources as part of the dependent applications.
1762More information about this feature is available in the <a
1763href="{@docRoot}tools/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document. </p>
1764<p>If you are not developing in Eclipse, <a
1765href="tools-notes.html">SDK Tools r6</a> provides the equivalent library
1766project support through the Ant build system.</p>
1767</dd>
1768</dl>
1769 </div>
1770</div>
1771
1772
Scott Main52bfaaf2012-11-12 19:39:58 -08001773<div class="toggle-content closed">
1774 <p><a href="#" onclick="return toggleContent(this)">
1775 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1776 alt=""/>ADT 0.9.6</a> <em>(March 2010)</em>
1777 </p>
Scott Main50e990c2012-06-21 17:14:39 -07001778
Scott Main52bfaaf2012-11-12 19:39:58 -08001779 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001780<dl>
1781<dt>Dependencies:</dt>
1782
Joe Fernandez452ff4802013-07-26 11:26:47 -07001783<dd><p>This version of ADT is designed for use with SDK Tools r5 and later. Before
Scott Main50e990c2012-06-21 17:14:39 -07001784updating to ADT 0.9.6, we highly recommend that you use the Android SDK Manager to install SDK
1785Tools r5 into your SDK.</p></dd>
1786
1787<dt>General Notes:</dt>
1788<dd>
1789<ul>
1790<li>Editing <code>default.properties</code> outside of Eclipse will now
1791automatically update the project.</li>
1792<li>Loads the SDK content only when a project requires it. This will make
1793Eclipse use less resources when the SDK contains many versions of Android.</li>
1794<li>Resolves potential deadlock between modal dialogs, when launching ADT the
1795first time with the SDK Usage panel.</li>
1796<li>Fixes issues with the New Project Wizard when selecting samples.</li>
1797</ul>
1798</dd>
1799<dt>AVD/SDK Manager:</dt>
1800<dd>
1801<ul>
1802<li>Adds support for platform samples packages.</li>
1803<li>Improves support for dependency between packages.</li>
1804<li>AVDs now sorted by API level.</li>
1805<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
1806<li>Prevents deletion of running AVDs.</li>
1807</ul>
1808</dd>
1809<dt>DDMS:</dt>
1810<dd>
1811<ul>
1812<li>DDMS plug-in now contains the Allocation Tracker view.</li>
1813<li>New action in the Logcat view: "Go to problem" lets you go directly from an
1814exception trace output to the code.</li>
1815</ul>
1816</dd>
1817<dt>Editors:</dt>
1818<dd>
1819<ul>
1820<li>Explode mode in the Visual Layout Editor adds a margin to all layout objects
1821so that it's easier to see embedded or empty layouts.</li>
1822<li>Outline mode in the Visual Layout Editor draws layout outline to make it
1823easier to see layout objects.</li>
1824<li>Several fixes in the configuration selector of the Visual Layout
1825Editor.</li>
1826</ul>
1827</dd>
1828<dt>Application launching:</dt>
1829<dd>
1830<ul>
1831<li>Applications launched from ADT now behave as if they were clicked from the
1832Home screen.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001833<li>Fixes an issue where add-ons without an optional library would not show up as valid
Scott Main50e990c2012-06-21 17:14:39 -07001834targets for application launches.</li>
Scott Main52bfaaf2012-11-12 19:39:58 -08001835<li>Resolves a possible crash when launching applications.</li>
Scott Main50e990c2012-06-21 17:14:39 -07001836</ul>
1837</dd>
1838</dl>
1839 </div>
1840</div>
1841
Scott Main52bfaaf2012-11-12 19:39:58 -08001842<div class="toggle-content closed">
1843 <p><a href="#" onclick="return toggleContent(this)">
1844 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1845 alt=""/>ADT 0.9.5</a> <em>(December 2009)</em>
1846 </p>
1847
1848 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001849<dl>
1850<dt>Dependencies:</dt>
1851
Joe Fernandez452ff4802013-07-26 11:26:47 -07001852<dd><p>This version of ADT requires features provided in SDK Tools r4 or higher. If you install
Scott Main50e990c2012-06-21 17:14:39 -07001853ADT 0.9.5, which is highly recommended, you should use the Android SDK
1854Manager to download the latest SDK Tools into your SDK. For more information,
1855see <a href="{@docRoot}sdk/exploring.html">Exploring the SDK</a>.</p>
1856</dd>
1857
1858<dt>General notes:</dt>
1859<dd>
1860<ul>
Scott Main52bfaaf2012-11-12 19:39:58 -08001861<li>The AVD Launch dialog now allows you to set the scale value.</li>
1862<li>Fixes a potential NullPointerException in the SDK Manager when you launch an AVD that does not
1863 have a skin name specified.</li>
1864<li>Fixes an XML validation issue in older Java versions.</li>
Scott Main50e990c2012-06-21 17:14:39 -07001865<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
1866</ul>
1867</dd>
1868</dl>
1869 </div>
1870</div>
1871
Scott Main52bfaaf2012-11-12 19:39:58 -08001872<div class="toggle-content closed">
1873 <p><a href="#" onclick="return toggleContent(this)">
1874 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
1875 alt=""/>ADT 0.9.4</a> <em>(October 2009)</em>
1876 </p>
1877
1878 <div class="toggle-content-toggleme">
Scott Main50e990c2012-06-21 17:14:39 -07001879<dl>
1880<dt>Dependencies:</dt>
1881
Joe Fernandez452ff4802013-07-26 11:26:47 -07001882<dd><p>This version of ADT requires features provided in SDK Tools r3 or higher. If you install
Scott Main50e990c2012-06-21 17:14:39 -07001883ADT 0.9.4, which is highly recommended, you should use the Android SDK
1884Manager to download the latest SDK Tools into your SDK. For more information,
1885see <a href="{@docRoot}sdk/exploring.html">Exploring the SDK</a>.</p>
1886</dd>
1887
1888<dt>Project Creation Wizard:</dt>
1889<dd>
1890<ul>
1891<li>New option to create a project from a sample by choosing it from a list.</li>
1892</ul>
1893</dd>
1894
1895<dt>Layout Editor:</dt>
1896<dd>
1897<ul>
1898<li>Improved Configuration selector that lets you see how your layout will
1899render on different devices. Default device descriptions include ADP1
1900and Google Ion, while SDK add-ons can also provide new descriptions.
1901A new UI allows you to create custom descriptions.</li>
1902<li>Adds a new clipping toggle, to let you see your full layout even if it's
1903bigger than the screen.</li>
1904</ul>
1905</dd>
1906
1907<dt>DDMS integration:</dt>
1908<dd>
1909<ul>
1910<li>Includes the improvements from the standlone DDMS, revision 3.</li>
1911<li>Adds an option to open HPROF files into eclipse instead of writing them on
1912disk. If a profiler such as MAT (<a href="http://eclipse.org/mat">Memory Analyzer
1913Tool</a>) is installed, it'll open the file.</li>
1914</ul>
1915</dd>
1916
1917<dt>Android SDK and AVD Manager integration:</dt>
1918<dd>
1919<ul>
1920<li>Includes the improvements from the standalone Android SDK and AVD Manager,
1921revision 3.</li>
1922</ul>
1923</dd>
1924</dl>
1925 </div>
1926</div>