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