1 page.title=ADT Plugin for Eclipse 2 adt.zip.version=15.0.0 3 adt.zip.download=ADT-15.0.0.zip 4 adt.zip.bytes=6750682 5 adt.zip.checksum=264f40a89a1107b0c422adae4e1ce0d1 6 7 @jd:body 8 9 <div id="qv-wrapper"> 10 <div id="qv"> 11 12 <h2>In this document</h2> 13 <ol> 14 <li><a href="#notes">Revisions</a></li> 15 <li><a href="#installing">Installing the ADT Plugin</a> 16 <ol> 17 <li><a href="#preparing">Preparing for Installation</a></li> 18 <li><a href="#downloading">Downloading the ADT Plugin</a> 19 <li><a href="#configuring">Configuring the ADT Plugin</a></li> 20 <li><a href="#troubleshooting">Troubleshooting</a></li> 21 </ol> 22 </li> 23 <li><a href="#updating">Updating the ADT Plugin</a></li> 24 </ol> 25 26 <h2>See also</h2> 27 <ol> 28 <li><a href="{@docRoot}guide/developing/tools/adt.html">Android Developer Tools</a></li> 29 </ol> 30 31 </div> 32 </div> 33 34 <p>Android Development Tools (ADT) is a plugin for the Eclipse IDE 35 that is designed to give you a powerful, integrated environment in which 36 to build Android applications.</p> 37 38 <p>ADT extends the capabilities of Eclipse to let you quickly set up new Android 39 projects, create an application UI, add components based on the Android 40 Framework API, debug your applications using the Android SDK tools, and even 41 export signed (or unsigned) {@code .apk} files in order to distribute your application.</p> 42 43 <p>Developing in Eclipse with ADT is highly recommended and is the fastest way 44 to get started. With the guided project setup it provides, as well as tools 45 integration, custom XML editors, and debug ouput pane, ADT gives you an 46 incredible boost in developing Android applications. </p> 47 48 <p>This document provides step-by-step instructions on how to download the ADT 49 plugin and install it into your Eclipse development environment. Note that 50 before you can install or use ADT, you must have compatible versions of both the 51 Eclipse IDE and the Android SDK installed. For details, make sure to read <a 52 href="#installing">Installing the ADT Plugin</a>, below. </p> 53 54 <p>If you are already using ADT, this document also provides instructions on 55 how to update ADT to the latest version or how to uninstall it, if necessary. 56 </p> 57 58 <p>For information about the features provided by the ADT plugin, such as code 59 editor features, SDK tool integration, and the graphical layout editor (for drag-and-drop layout 60 editing), see the <a href="{@docRoot}guide/developing/tools/adt.html">Android Developer Tools</a> 61 document.</p> 62 63 64 <h2 id="notes">Revisions</h2> 65 66 <p>The sections below provide notes about successive releases of 67 the ADT Plugin, as denoted by revision number. </p> 68 69 <p>For a summary of all known issues in ADT, see <a 70 href="http://tools.android.com/knownissues">http://tools.android.com/knownissues</a>.</p> 71 72 <script type="text/javascript"> 73 function toggleDiv(link) { 74 var toggleable = $(link).parent(); 75 if (toggleable.hasClass("closed")) { 76 //$(".toggleme", toggleable).slideDown("fast"); 77 toggleable.removeClass("closed"); 78 toggleable.addClass("open"); 79 $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png")); 80 } else { 81 //$(".toggleme", toggleable).slideUp("fast"); 82 toggleable.removeClass("open"); 83 toggleable.addClass("closed"); 84 $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png")); 85 } 86 return false; 87 } 88 </script> 89 <style> 90 .toggleable { 91 padding: .25em 1em; 92 } 93 .toggleme { 94 padding: 1em 1em 0 2em; 95 line-height:1em; 96 } 97 .toggleable a { 98 text-decoration:none; 99 } 100 .toggleme a { 101 text-decoration:underline; 102 } 103 .toggleable.closed .toggleme { 104 display:none; 105 } 106 #jd-content .toggle-img { 107 margin:0; 108 } 109 </style> 110 111 112 <div class="toggleable opened"> 113 <a href="#" onclick="return toggleDiv(this)"> 114 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" 115 width="9px" /> 116 ADT 15.0.0</a> <em>(October 2011)</em> 117 <div class="toggleme"> 118 <dl> 119 120 <dt>Dependencies:</dt> 121 122 <dd>ADT 15.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r15</a>. 123 If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK and AVD Manager to 124 do so.</dd> 125 126 <dt>Bug fixes:</dt> 127 <dd> 128 <ul> 129 <li>Fixed build issue when using Renderscript in projects that target API levels 11-13 130 (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li> 131 <li>Fixed issue when creating projects from existing source code.</li> 132 <li>Fixed issues in the SDK Manager 133 (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>, 134 <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li> 135 <li>Fixed scrolling issue in the new Logcat panel of DDMS.</li> 136 </ul> 137 </dd> 138 </dl> 139 140 </div> 141 </div> 142 143 <div class="toggleable closed"> 144 <a href="#" onclick="return toggleDiv(this)"> 145 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" 146 width="9px" /> 147 ADT 14.0.0</a> <em>(October 2011)</em> 148 <div class="toggleme"> 149 <dl> 150 151 <dt>Dependencies:</dt> 152 153 <dd>ADT 14.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r14</a>. 154 If you haven't already installed SDK Tools r14 into your SDK, use the Android SDK and AVD Manager to 155 do so.</dd> 156 157 <dt>Build system</dt> 158 <dd> 159 <ul> 160 <li>Changed <code>default.properties</code> to <code>project.properties</code> and 161 <code>build.properties</code> to <code>ant.properties</code>. ADT automatically 162 renames these files, if necessary, when you open a project in Eclipse.</li> 163 <li>Changed how library projects are built in Eclipse.</a></li> 164 <li>Changed output of <code>javac</code> from <code>bin/</code> to <code>bin/classes</code> 165 in Eclipse.</li> 166 <li>Improved incremental builds so that resource compilation runs less frequently. Builds no 167 longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer 168 run once for each library project.</li> 169 <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of 170 crunching all existing PNG files, all the time.</li> 171 <li>Modified resource compilation so it no longer happens for normal save operations. It only 172 happens when running or debugging (the build option that lets you disable the packaging 173 step, which was introduced in ADT 12, is now on by default.)</li> 174 </ul> 175 <p>For a complete overview of the build system changes and what you need to do to support them, 176 see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project 177 site</a>.</p> 178 </dd> 179 180 <dt>General improvements</dt> 181 <dd> 182 <ul> 183 184 185 <li>Added a Welcome Wizard to help with the initial setup of the Android 186 development environment (<a href="http://tools.android.com/recent/welcomewizard">more 187 info</a>).</li> 188 <li>Integrated the Android Asset Studio, which helps you create icons for things 189 like the launcher, menus, and tabs. (<a 190 href="http://tools.android.com/recent/assetstudiointegration">more 191 info</a>).</li> 192 <li>Revamped the Logcat view and added support to display and filter logs by 193 application names as well as PIDs (<a 194 href="http://tools.android.com/recent/updatedlogcatviewer">more info</a>).</li> 195 <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more 196 info</a>).</li> 197 <li>Revamped the New Project and the New XML File wizards to have 198 multiple pages. Sample projects are now copied into the workspace such that they can be modified 199 and deleted without affecting the master copy 200 (<a href="http://tools.android.com/recent/revampedwizards">more info</a>).</li> 201 <li>Removed the dependency on Eclipse GEF.</li> 202 </ul> 203 </dd> 204 205 <dt>XML and Java editors</dt> 206 <dd> 207 <ul> 208 <li>Added a new XML formatter that formats all XML files according to the 209 standard Android coding style. The formatter can also reorder 210 attributes to follow a recommended order and processes any changes made in the Layout editor. 211 (<a href="http://tools.android.com/recent/xmlformatter">more info</a>).</li> 212 <li>Added the "Go to Matching" (Ctrl-Shift-P) feature, which lets you jump 213 between opening and closing tags in XML files.</li> 214 <li>Added support for the "Select Enclosing Element" feature on Mac.</li> 215 <li>Added a Quickfix for extracting Strings when the caret is inside a String (<a href="">see 216 more</a>).</li> 217 <li>Improved "smart indent", which allows automatic indentation and un-indentation 218 when pressing the Return key in XML editors (<a 219 href="http://tools.android.com/recent/xmleditingimprovements">more info</a>).</li> 220 221 </ul> 222 </dd> 223 224 <dt>Layout editor</dt> 225 <dd> 226 <ul> 227 <li>Added tooltip feedback for dragging and resizing operations. For 228 example, when dragging in a relative layout, the proposed 229 constraints are shown. When resizing, the new dimensions are 230 shown (<a href="http://tools.android.com/recent/layouteditorfeedbacktooltips">more 231 info</a>).</li> 232 <li>Added the ability to suppress rendering fidelity warnings (<a 233 href="http://tools.android.com/recent/suppressrenderwarnings">more info</a>).</li> 234 <li>Added "Remove Container" visual refactoring that removes the 235 children of a container up to the top level and transfers 236 namespace and layout attributes if necessary (<a 237 href="http://tools.android.com/recent/removecontainervisualrefactoring">more info</a>).</li> 238 <li>Added pull-right menus to the context menu for accessing 239 properties of the parents, which is useful when the children fully 240 cover the parent and make it hard to select on their own.</li> 241 <li>Improved access to properties in the context menu. The most 242 frequently set attributes for each view are listed at the top of 243 the menu. The Properties menu offers access to the most 244 recently set attributes, attributes organized by their defining 245 view, and layout attributes only or all attributes alphabetically (<a 246 href="http://tools.android.com/recent/layouteditorcontextmenuimprovements">more info</a>).</li> 247 </ul> 248 </dd> 249 250 <dt>Bug fixes</dt> 251 <dd>Fixed many bugs and added <a 252 href="http://tools.android.com/recent/miscellaneousrecentfixes">minor improvements</a>, in 253 particular some <a href="http://tools.android.com/recent/linuxfixes">critical bug fixes on 254 Linux</a>.</dd> 255 256 </div> 257 </div> 258 259 260 261 <div class="toggleable closed"> 262 <a href="#" onclick="return toggleDiv(this)"> 263 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" 264 width="9px" /> 265 ADT 12.0.0</a> <em>(July 2011)</em> 266 <div class="toggleme"> 267 <dl> 268 269 <dt>Dependencies:</dt> 270 271 <dd>ADT 12.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r12</a>. If you haven't 272 already installed SDK Tools r12 into your SDK, use 273 the Android SDK and AVD Manager to do so.</dd> 274 275 <dt>Visual Layout Editor:</dt> 276 <dd> 277 <ul> 278 <li>New RelativeLayout drop support with guideline suggestions for 279 attachments and cycle prevention 280 (<a href="http://tools.android.com/recent/revampedrelativelayoutsupport">more info</a>).</li> 281 <li>Resize support in most layouts along with 282 guideline snapping to the sizes dictated by <code>wrap_content</code> and <code>match_parent</code>. 283 In LinearLayout, sizes are mapped to weights instead of pixel widths. 284 (<a href="http://tools.android.com/recent/resizesupport">more info</a>).</li> 285 <li>Previews of drawables and colors in the resource chooser dialogs 286 (<a href="http://tools.android.com/recent/imageandcolorpreviews">more info</a>).</li> 287 <li>Improved error messages and links for rendering errors including 288 detection of misspelled class names 289 (<a href="http://tools.android.com/recent/improvedrenderingerrordiagnostics">more info</a>).</li> 290 </ul> 291 </dd> 292 293 <dt>Build system</dt> 294 <dd> 295 <ul> 296 <li id="build-option">A new option lets you disable the packaging step in the automatic 297 builders. This improves performance when saving files by not 298 performing a full build, which can take a long time for large projects. 299 If the option is enabled, the APK is packaged when the 300 application is deployed to a device or emulator or when the 301 release APK is exported (<a href="http://tools.android.com/recent/finercontroloveradtbuildprocess">more info</a>).</li> 302 </ul> 303 </dd> 304 305 <dt>Bug fixes</dt> 306 <dd>Many bug fixes are part of this release 307 (<a href="http://tools.android.com/recent/adt12bugfixroundup">more info</a>).</dd> 308 309 </div> 310 </div> 311 312 313 <div class="toggleable closed"> 314 <a href="#" onclick="return toggleDiv(this)"> 315 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" 316 width="9px" /> 317 ADT 11.0.0</a> <em>(June 2011)</em> 318 <div class="toggleme"> 319 320 <dl> 321 322 <dt>Dependencies:</dt> 323 324 <dd>ADT 11.0.0 is designed for use with SDK Tools r11. If you haven't 325 already installed SDK Tools r11 into your SDK, use the Android SDK and AVD Manager to do 326 so.</dd> 327 328 <dt>Visual Refactoring:</dt> 329 <dd> 330 <ul> 331 <li>"Extract Style" feature pulls out style-related attributes from your layout and extracts 332 them as a new style defined in {@code styles.xml} (<a 333 href="http://tools.android.com/recent/extractstylerefactoring">more info</a>).</li> 334 <li>"Wrap in Container" feature lets you select a group of views then surround them 335 in a new layout (a new view group, such as a LinearLayout), and transfers namespace and layout 336 parameters to the new parent (<a 337 href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more 338 info</a>).</li> 339 <li>"Change Layout" feature changes layouts from one type 340 to another, and can also flatten a layout hierarchy (<a 341 href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more 342 info</a>).</li> 343 <li>"Change Widget Type" feature changes the type of the 344 selected views to a new type. Also, a new selection context menu 345 in the visual layout editor makes it easy to select siblings as 346 well as views anywhere in the layout that have the same type (<a 347 href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more 348 info</a>).</li> 349 <li>"Extract as Include" feature finds identical collections of views 350 in other layouts and offers to combine them into a single layout that you can then include in 351 each layout (<a 352 href="http://tools.android.com/recent/extractasincludeimprovements">more info</a>).</li> 353 <li>Quick Assistant in Eclipse can be invoked 354 from the XML editor (with Ctrl-1) to apply any of the above 355 refactorings (and Extract String) to the current selection (<a 356 href="http://tools.android.com/recent/refactoringquickassistant">more info</a>).</li> 357 </ul> 358 </dd> 359 360 <dt>Visual Layout Editor:</dt> 361 <dd> 362 <ul> 363 <li>This is the update to the layout editor you've been waiting for! It includes (almost) all 364 the goodies demonstrated at Google I/O. <a href="http://www.youtube.com/watch?v=Oq05KqjXTvs">Watch 365 the video</a> on YouTube.</li> 366 <li>The palette now supports different configurations for supported widgets. That is, a single 367 view is presented in various different configurations that you can drag into your layout. For 368 example, there is a <em>Text Fields</em> palette category where you can drag an {@link 369 android.widget.EditText} widget in as a password field, an e-mail field, a phone field, or other 370 types of text boxes. Similarly, {@link android.widget.TextView} widgets are preconfigured 371 with large, normal and small theme sizes, and {@link android.widget.LinearLayout} elements are 372 preconfigured in horizontal and vertical configurations (<a 373 href="http://tools.android.com/recent/multipletextfieldandlayouttypes">more info</a>).</li> 374 <li>The palette supports custom views. You can pick up any custom 375 implementations of the View class you've created in your project or from included libraries and 376 drag them into your layout (<a 377 href="http://tools.android.com/recent/customviewsinthepalette">more info</a>).</li> 378 <li>Fragments are available in the palette for placement in your layout. In the tool, you can 379 choose which layout to show rendered for a given fragment tag. Go to declaration works for fragment 380 classes (<a href="http://tools.android.com/recent/fragmentsupport">more info</a>).</li> 381 <li>The layout editor automatically applies a "zoom to fit" for newly 382 opened files as well as on device size and orientation changes to 383 ensure that large layouts are always fully visible unless you 384 manually zoom in.</li> 385 <li>You can drop in an {@code <include>} element from the palette, which will pop up 386 a layout chooser. When you select the layout to include, it is added with an {@code 387 <include>}. Similarly, dropping images or image buttons will pop up image 388 resource choosers (<a 389 href="http://tools.android.com/recent/includetagdropsupport">more info</a>).</li> 390 <li>The configuration chooser now applies the "Render Target" and 391 "Locale" settings project wide, making it trivial to check the 392 layouts for different languages or render targets without having 393 to configure these individually for each layout.</li> 394 <li>The layout editor is smarter about picking a default theme to 395 render a layout with, consulting factors like theme registrations 396 in the manifest, the SDK version, and other factors.</li> 397 <li>The layout editor is smarter about picking a default configuration to render a layout 398 with, defaulting to the currently visible configuration in the previous file. It also considers the 399 SDK target to determine whether to default to a tablet or phone screen size.</li> 400 <li>Basic focus support. The first text field dropped in a layout is assigned focus, and there 401 are <strong>Request Focus</strong> and <strong>Clear Focus</strong> context menu items on text 402 fields to change the focus.</li> 403 </ul> 404 </dd> 405 406 <dt>XML editors:</dt> 407 <dd> 408 <ul> 409 <li>Code completion has been significantly improved. It now works 410 with {@code <style>} elements, completes dimensional units, 411 sorts resource paths in values based on the attribute name, and more. There are also many fixes to 412 handle text replacement (<a 413 href="http://tools.android.com/recent/xmlcodecompletionimprovements">more info</a>).</li> 414 <li>AAPT errors are handled better. They are now underlined for the 415 relevant range in the editor, and a new quickfix makes it trivial 416 to create missing resources.</li> 417 <li>Code completion for drawable, animation and color XML files (<a 418 href="http://tools.android.com/recent/codecompletionfordrawablescolorsandanimationfiles">more 419 info</a>).</li> 420 </ul> 421 </dd> 422 423 <dt>DDMS:</dt> 424 <dd> 425 <ul> 426 <li>"New Folder" action in the File Explorer.</li> 427 <li>The screenshot dialog will add timestamps to the filenames and preserve the orientation on 428 snapshot refresh.</li> 429 </ul> 430 </dd> 431 432 <dt>General notes:</dt> 433 <dd> 434 <ul> 435 <li>TraceView supports zooming with the mouse-wheel in the timeline.</li> 436 <li>The New Android Project wizard now supports Eclipse working sets.</li> 437 </ul> 438 </dd> 439 </dl> 440 <p>More information about tool changes are available on the <a 441 href="http://tools.android.com/recent">Android Tools Project Site</a>.</p> 442 </div> 443 </div> 444 445 446 447 448 449 <div class="toggleable closed"> 450 <a href="#" onclick="return toggleDiv(this)"> 451 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" 452 width="9px" /> 453 ADT 10.0.1</a> <em>(March 2011)</em> 454 <div class="toggleme"> 455 456 <dl> 457 458 <dt>Dependencies:</dt> 459 460 <dd>ADT 10.0.1 is designed for use with SDK Tools r10. If you haven't 461 already installed SDK Tools r10 into your SDK, use the Android SDK and AVD Manager to do 462 so.</dd> 463 464 <dt>General notes:</dt> 465 <dd> 466 <ul> 467 <li>Temporary work-around to resolve the rare cases in which the layout editor will 468 not open.</li> 469 <li>Fix issue in which ADT 10.0.0 would install on Eclipse 3.4 and lower, even though ADT 470 requires Eclipse 3.5 or higher (as of 10.0.0).</li> 471 </ul> 472 </dd> 473 </dl> 474 </div> 475 </div> 476 477 478 479 <div class="toggleable closed"> 480 <a href="#" onclick="return toggleDiv(this)"> 481 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" 482 width="9px" /> 483 ADT 10.0.0</a> <em>(February 2011)</em> 484 <div class="toggleme"> 485 486 <dl> 487 488 <dt>Dependencies:</dt> 489 490 <dd>ADT 10.0.0 is designed for use with SDK Tools r10. If you haven't 491 already installed SDK Tools r10 into your SDK, use the Android SDK and AVD Manager to do 492 so.</dd> 493 494 <dt>General notes:</dt> 495 <dd> 496 <ul> 497 <li>The tools now automatically generate Java Programming Language source files (in the <code>gen/</code> directory) and 498 bytecode (in the <code>res/raw/</code> directory) from your <code>.rs</code> files.</li> 499 <li>A Binary XML editor has been added (<a href="http://tools.android.com/recent/binaryxmleditor">details</a>).</li> 500 <li>Traceview is now integrated into the Eclipse UI (<a href="http://tools.android.com/recent/traceviewineclipse">details</a>).</li> 501 <li>The "Go To Declaration" feature for XML and <code>.java</code> files quickly show all the matches in the project 502 and allows you jump to specific items such as string translations or <code>onClick</code> handlers 503 (<a href="http://tools.android.com/recent/gotodeclarationimprovements">details</a>).</li> 504 <li>The Resource Chooser can create items such as dimensions, integers, ids, and booleans 505 (<a href="http://tools.android.com/recent/resourcechoosercannowcreatearbitraryvalues">details</a>).</li> 506 <li>Improvements to the Visual Layout Editor: 507 <ul> 508 <li>A new Palette with categories and rendering previews 509 (<a href="http://tools.android.com/recent/newpalette">details</a>).</li> 510 <li>A Layout Actions bar that provides quick access to common layout operations 511 (<a href="http://tools.android.com/recent/layoutactionsbar">details</a>).</li> 512 <li>When the Android 3.0 rendering library is selected, layouts render more like they do on devices. 513 This includes rendering of status and title bars to more accurately reflect the actual 514 screen space available to applications 515 (<a href="http://tools.android.com/recent/systembarandactionbar">details</a>).</li> 516 <li>Zoom improvements such as fit to view, persistent scale, and keyboard access. 517 (<a href="http://tools.android.com/recent/zoomimprovements">details</a>).</li> 518 <li>Further improvements to <code><merge></code> layouts, as well as layouts with gesture overlays 519 (<a href="http://tools.android.com/recent/improvedsupportformergetags">details</a>).</li> 520 <li>Improved rendering error diagnostics.</li> 521 </ul> 522 </li> 523 </ul> 524 </dd> 525 </dl> 526 </div> 527 </div> 528 529 <div class="toggleable closed"> 530 <a href="#" onclick="return toggleDiv(this)"> 531 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" 532 width="9px" /> 533 ADT 9.0.0</a> <em>(January 2011)</em> 534 <div class="toggleme"> 535 536 <dl> 537 538 <dt>Dependencies:</dt> 539 540 <dd>ADT 9.0.0 is designed for use with SDK Tools r9. If you haven't 541 already installed SDK Tools r9 into your SDK, use the Android SDK and AVD Manager to do 542 so.</dd> 543 544 <dt>General notes:</dt> 545 <dd> 546 <ul> 547 <li>"Go To Declaration" hyperlink support: You can jump directly from code references (such as 548 <code>R.id.main</code>) to the corresponding XML declaration, or from XML attributes (such as 549 <code>@string</code>) to the corresponding resource definition, or from manifest XML 550 registrations to activities and services.</li> 551 <li>Improvements were made to name refactoring.</li> 552 <li>AVDs now automatically save their state, so they can restart almost instantly. You can enable this feature when 553 creating an AVD or by editing an AVD with the AVD Manager.</li> 554 <li>Improvements to the Visual Layout Editor: 555 <ul> 556 <li>Support for rendering targets: You can now choose an arbitrary Android platform to 557 render the current page, regardless of the project's minimum platform. This makes it 558 easy to verify the layout and appearance of your activity on different versions of 559 the platform. 560 </li> 561 <li>Improved support for empty and nested layouts: Dragging items over nested and 562 invisible layouts automatically enlarges and highlights these layouts, so that they 563 can receive drops. 564 </li> 565 <li>XML formatting improvements: The editor generates cleaner XML and you can now enable 566 XML auto-formatting in the <strong>Preferences</strong> menu.</li> 567 <li>Improved Outline labels: The Outline tab now displays additional information about each 568 View. Textual Views display a snippet of the actual text. Views with a source 569 (such as ImageView) displays the resource name. Included Views display the name of the View. 570 </li> 571 <li>When you right click a View in the Layout Editor, 572 the context menu now contains <strong>Edit ID...</strong> and <strong>Edit Text...</strong> 573 items. The <strong>Properties...</strong> context menus now list all of the properties and 574 provide a way to edit them 575 (<a href="http://tools.android.com/recent/editidtextandotherpropertiesviamenu">Details</a>). 576 </li> 577 <li>The layout editor now properly handles 578 <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"><code><include></code></a> 579 and <a href="{@docRoot}guide/topics/resources/layout-resource.html#merge-element"><code><merge></code></a> 580 tags (<a href="http://tools.android.com/recent/supportforincludeandmerge">Details</a>).</li> 581 <li>"Extract as Include" refactoring: The Layout Editor has a new refactoring that allows 582 you to select one or more views in a layout, and extract it into a separate layout 583 (<a href="http://tools.android.com/recent/extractasincluderefactoring">Details</a>).</li> 584 <li>Improved diagnostics for class loading and rendering errors: Class loading and rendering 585 error messages are more useful and provide better information about the root cause of the 586 error.</li> 587 <li>Improved error handling to prevent drag and reordering operations from adding children 588 into an {@link android.widget.AdapterView}.</li> 589 <li>Outline reordering: Reordering your views in the Outline tab is much easier 590 (<a href="http://tools.android.com/recent/outlineimprovements">Details</a>).</li> 591 <li>Fix for keybinding bug where keyboard shortcuts did not work (Issues 592 <a href="http://code.google.com/p/android/issues/detail?id=13231">13231</a> and 593 <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li> 594 <li>Fix for problems with Custom layout attribute menu (Issue 595 <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li> 596 <li>Automatic configuration for various view types: Certain views have properties configured 597 by default. For example, the width of an {@link android.widget.EditText} object is set to 598 <code>match_parent</code> when added to a vertical {@link android.widget.LinearLayout} 599 or a default image is added to an {@link android.widget.ImageButton}.</li> 600 <li>Previews during dragging: Dragging from the palette or dragging within the layout editor 601 now shows live previews of the dragged item.</li> 602 <li>Navigation improvements: In the Layout Editor, double-clicking Views jumps to the 603 corresponding XML element. In the Outline view, double-clicking opens the Properties view.</li> 604 <li>The editor has Honeycomb style animation preview support.</li> 605 <li>Improved rendering support for various Views (such as TabHosts and SlidingDrawers) in 606 Honeycomb (Issues <a href="http://code.google.com/p/android/issues/detail?id=3162">3162</a> 607 and <a href="http://code.google.com/p/android/issues/detail?id=13092">13092</a>).</li> 608 <li>Included layouts can be rendered and edited in the context of the layouts that include 609 them. From a layout using an <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"> 610 <code><include></code></a> tag, double-clicking on the 611 <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"> 612 <code><include></code></a> element edits the referenced layout in the context of the 613 current layout. Additionally, when editing a layout that is included by other layouts, 614 you can quickly change between context layouts, by right clicking in the editor and choosing 615 <strong>Show included in...</strong>. This feature is only available in Honeycomb.</li> 616 </ul> 617 </li> 618 <li>This release fixes many other bugs, but the most important ones are listed below: 619 <ul> 620 <li>Fixed issue that prevented launching debug builds on productions devices when 621 <code>debuggable=true</code> was not set in the Android manifest.</li> 622 <li>The LogCat view in DDMS properly handles UTF-8 characters.</li> 623 <li>The SDK Manager is more reliable on Windows 624 (<a href="http://tools.android.com/recent/sdkmanagerfixes">Details</a>).</li> 625 <li>A JUnit initialization bug that prevented you from working with JUnit tests was fixed 626 (Issue <a href="http://code.google.com/p/android/issues/detail?id=12411">12411</a>).</li> 627 </ul> 628 </li> 629 </ul> 630 </dd> 631 </dl> 632 </div> 633 </div> 634 635 636 637 638 <div class="toggleable closed"> 639 <a href="#" onclick="return toggleDiv(this)"> 640 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" 641 width="9px" /> 642 ADT 8.0.1</a> <em>(December 2010)</em> 643 <div class="toggleme"> 644 645 <dl> 646 647 <dt>Dependencies:</dt> 648 649 <p><p>ADT 8.0.1 is designed for use with SDK Tools r8. If you haven't 650 already installed SDK Tools r8 into your SDK, use the Android SDK and AVD Manager to do 651 so.</p></dd> 652 653 <dt>General notes:</dt> 654 <dd> 655 <ul> 656 <li>This is a quick follow-up to ADT 8.0.0 to fix some bugs.</li> 657 <li>Fixes an issue in which projects failed to compile, citing a dex error.</li> 658 <li>Better ProGuard error reporting when exporting applications for release.</li> 659 </ul> 660 <p>Also see the recent release notes for 8.0.0, below.</p> 661 </dd> 662 </dl> 663 </div> 664 </div> 665 666 667 <div class="toggleable closed"> 668 <a href="#" onclick="return toggleDiv(this)"> 669 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" 670 width="9px" /> 671 ADT 8.0.0</a> <em>(December 2010)</em> 672 <div class="toggleme"> 673 674 <dl> 675 676 <dt>Dependencies:</dt> 677 678 <p><p>ADT 8.0.0 is designed for use with SDK Tools r8. If you haven't 679 already installed SDK Tools r8 into your SDK, use the Android SDK and AVD Manager to do 680 so.</p></dd> 681 682 <dt>General notes:</dt> 683 <dd> 684 <ul> 685 <li>New version number scheme that follows the SDK Tools revision number. The major version 686 number for your ADT plugin should now always match the revision number of your SDK Tools. For 687 example, ADT 8.x is for SDK Tools r8.</li> 688 <li>Support for true debug build. You no longer need to change the value of the 689 <code>debuggable</code> attribute in the Android Manifest. 690 <p>Incremental builds automatically insert <code>debuggable="true"</code>, but if you perform 691 "export signed/unsigned application package", ADT does <em>not</em> insert it. 692 If you manually set <code>debuggable="true"</code> in the manifest file, then release builds will 693 actually create a debug build (it does not remove it if you placed it there).</p></li> 694 <li>Automatic <a href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a> support in 695 release builds. For it to work, you need to have a <code>proguard.config</code> 696 property in the <code>default.properties</code> file that points to a ProGuard config file.</li> 697 <li>Completely rewritten Visual Layout Editor. (This is still a work in progress.) Now includes: 698 <ul> 699 <li>Full drag and drop from palette to layout for all Layout classes.</li> 700 <li>Move widgets inside a Layout view, from one Layout view to another and from one layout file to another.</li> 701 <li>Contextual menu with enum/flag type properties.</li> 702 <li>New zoom controls.</li> 703 </ul></li> 704 <li>New HierarchyViewer plug-in integrated in Eclipse.</li> 705 <li>Android launch configurations don't recompile the whole workspace on launch anymore.</li> 706 <li><code>android.jar</code> source and javadoc location can now be configured.</li> 707 </ul> 708 </dd> 709 </dl> 710 </div> 711 </div> 712 713 714 <div class="toggleable closed"> 715 <a href="#" onclick="return toggleDiv(this)"> 716 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> 717 ADT 0.9.9</a> <em>(September 2010)</em> 718 <div class="toggleme"> 719 720 <dl> 721 722 <dt>Dependencies:</dt> 723 724 <dd><p>ADT 0.9.9 replaces ADT 0.9.8 and is designed for use with SDK Tools r7 725 and later. ADT 0.9.9 includes the ADT 0.9.8 features as well as an important 726 bugfix, so we recommend that you upgrade as soon as possible. If you haven't 727 already installed SDK Tools r7 into your SDK, use the Android SDK Manager to do 728 so.</p></dd> 729 730 <dt>General notes:</dt> 731 <dd> 732 <ul> 733 <li>Fixes a problem in project import, in which source files were deleted in some cases.</li> 734 <li>Includes all other ADT 0.9.8 features (see below).</li> 735 </ul> 736 </dd> 737 </dl> 738 </div> 739 </div> 740 741 <div class="toggleable closed"> 742 <a href="#" onclick="return toggleDiv(this)"> 743 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> 744 ADT 0.9.8</a> <em>(September 2010)</em> 745 <div class="toggleme"> 746 747 748 </ul> 749 </dd> 750 751 <dl> 752 753 <dt>Dependencies:</dt> 754 755 <dd><p>ADT 0.9.8 is now deprecated. Please use ADT 0.9.9 instead.</p></dd> 756 757 <dt>General notes:</dt> 758 <dd> 759 <ul> 760 <li>Adds a new Action, "Rename Application Package", to the Android Tools 761 contextual menu. The Action does a full application package refactoring. 762 <li>Adds support for library projects that don't have a source folder 763 called <code>src/</code>. There is now support for any number of source folders, 764 with no name restriction. They can even be in subfolder such as 765 <code>src/java</code>. If you are already working with library projects created 766 in ADT 0.9.7, see <a 767 href="{@docRoot}guide/developing/projects/index.html#libraryMigrating">Migrating 768 library projects to ADT 0.9.8</a> for important information about moving 769 to the new ADT environment.</li> 770 <li>Adds support for library projects that depend on other library 771 projects.</li> 772 <li>Adds support for additional resource qualifiers: 773 <code>car</code>/<code>desk</code>, <code>night</code>/<code>notnight</code> and 774 <code>navexposed</code>/<code>navhidden</code>.</li> 775 <li>Adds more device screen types in the layout editor. All screen 776 resolution/density combinations listed in the <a 777 href="{@docRoot}guide/practices/screens_support.html#range">Supporting 778 Multiple Screens</a> are now available.</li> 779 <li>Fixes problems with handling of library project names that 780 contain characters that are incompatible with the Eclipse path variable. 781 Now properly sets up the link between the main project and the library 782 project.</li> 783 </ul> 784 </dd> 785 </dl> 786 </div> 787 </div> 788 789 790 <div class="toggleable closed"> 791 <a href="#" onclick="return toggleDiv(this)"> 792 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> 793 ADT 0.9.7</a> <em>(May 2010)</em> 794 <div class="toggleme"> 795 796 <dl> 797 <dt>Library projects:</dt> 798 <dd> 799 <p>The ADT Plugin now supports the use of <em>library projects</em> during 800 development, a capability that lets you store shared Android application 801 code and resources in a separate development project. You can then reference the 802 library project from other Android projects and, at build time, the tools 803 compile the shared code and resources as part of the dependent applications. 804 More information about this feature is available in the <a 805 href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document. </p> 806 <p>If you are not developing in Eclipse, <a 807 href="tools-notes.html">SDK Tools r6</a> provides the equivalent library 808 project support through the Ant build system.</p> 809 </dd> 810 </dl> 811 </div> 812 </div> 813 814 815 <div class="toggleable closed"> 816 <a href="#" onclick="return toggleDiv(this)"> 817 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> 818 ADT 0.9.6</a> <em>(March 2010)</em> 819 <div class="toggleme"> 820 821 <dl> 822 <dt>Dependencies:</dt> 823 824 <dd><p>ADT 0.9.6 is designed for use with SDK Tools r5 and later. Before 825 updating to ADT 0.9.6, we highly recommend that you use the Android SDK and 826 AVD Manager to install SDK Tools r5 into your SDK.</p></dd> 827 828 <dt>General Notes:</dt> 829 <dd> 830 <ul> 831 <li>Editing <code>default.properties</code> outside of Eclipse will now 832 automatically update the project.</li> 833 <li>Loads the SDK content only when a project requires it. This will make 834 Eclipse use less resources when the SDK contains many versions of Android.</li> 835 <li>Resolves potential deadlock between modal dialogs, when launching ADT the 836 first time with the SDK Usage panel.</li> 837 <li>Fixes issues with the New Project Wizard when selecting samples.</li> 838 </ul> 839 </dd> 840 <dt>AVD/SDK Manager:</dt> 841 <dd> 842 <ul> 843 <li>Adds support for platform samples components.</li> 844 <li>Improves support for dependency between components.</li> 845 <li>AVDs now sorted by API level.</li> 846 <li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li> 847 <li>Prevents deletion of running AVDs.</li> 848 </ul> 849 </dd> 850 <dt>DDMS:</dt> 851 <dd> 852 <ul> 853 <li>DDMS plug-in now contains the Allocation Tracker view.</li> 854 <li>New action in the Logcat view: "Go to problem" lets you go directly from an 855 exception trace output to the code.</li> 856 </ul> 857 </dd> 858 <dt>Editors:</dt> 859 <dd> 860 <ul> 861 <li>Explode mode in the Visual Layout Editor adds a margin to all layout objects 862 so that it's easier to see embedded or empty layouts.</li> 863 <li>Outline mode in the Visual Layout Editor draws layout outline to make it 864 easier to see layout objects.</li> 865 <li>Several fixes in the configuration selector of the Visual Layout 866 Editor.</li> 867 </ul> 868 </dd> 869 <dt>Application launching:</dt> 870 <dd> 871 <ul> 872 <li>Applications launched from ADT now behave as if they were clicked from the 873 Home screen.</li> 874 <li>Fixes issue where add-on with no optional library would not show up as valid 875 targets for application launches.</li> 876 <li>Resolves possible crash when launching applications.</li> 877 </ul> 878 </dd> 879 </dl> 880 </div> 881 </div> 882 883 <div class="toggleable closed"> 884 <a href="#" onclick="return toggleDiv(this)"> 885 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> 886 ADT 0.9.5</a> <em>(December 2009)</em> 887 <div class="toggleme"> 888 <dl> 889 <dt>Dependencies:</dt> 890 891 <dd><p>ADT 0.9.5 requires features provided in SDK Tools r4 or higher. If you install 892 ADT 0.9.5, which is highly recommended, you should use the Android SDK and AVD 893 Manager to download the latest SDK Tools into your SDK. For more information, 894 see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p> 895 </dd> 896 897 <dt>General Notes:</dt> 898 <dd> 899 <ul> 900 <li>AVD Launch dialog now shows scale value.</li> 901 <li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no skin name specified.</li> 902 <li>Fixes XML validation issue in on older Java versions.</li> 903 <li>.apk packaging now properly ignores vi swap files as well as hidden files.</li> 904 </ul> 905 </dd> 906 </dl> 907 </div> 908 </div> 909 910 <div class="toggleable closed"> 911 <a href="#" onclick="return toggleDiv(this)"> 912 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> 913 ADT 0.9.4</a> <em>(October 2009)</em> 914 <div class="toggleme"> 915 <dl> 916 <dt>Dependencies:</dt> 917 918 <dd><p>ADT 0.9.4 requires features provided in SDK Tools r3 or higher. If you install 919 ADT 0.9.4, which is highly recommended, you should use the Android SDK and AVD 920 Manager to download the latest SDK Tools into your SDK. For more information, 921 see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p> 922 </dd> 923 924 <dt>Project Creation Wizard:</dt> 925 <dd> 926 <ul> 927 <li>New option to create a project from a sample by choosing it from a list.</li> 928 </ul> 929 </dd> 930 931 <dt>Layout Editor:</dt> 932 <dd> 933 <ul> 934 <li>Improved Configuration selector that lets you see how your layout will 935 render on different devices. Default device descriptions include ADP1 936 and Google Ion, while SDK add-ons can also provide new descriptions. 937 A new UI allows you to create custom descriptions.</li> 938 <li>Adds a new clipping toggle, to let you see your full layout even if it's 939 bigger than the screen.</li> 940 </ul> 941 </dd> 942 943 <dt>DDMS Integration:</dt> 944 <dd> 945 <ul> 946 <li>Includes the improvements from the standlone DDMS, revision 3.</li> 947 <li>Adds an option to open HPROF files into eclipse instead of writing them on 948 disk. If a profiler such as MAT (<a href="http://eclipse.org/mat">Memory Analyzer 949 Tool</a>) is installed, it'll open the file.</li> 950 </ul> 951 </dd> 952 953 <dt>Android SDK and AVD Manager integration:</dt> 954 <dd> 955 <ul> 956 <li>Includes the improvements from the standalone Android SDK and AVD Manager, 957 revision 3.</li> 958 </ul> 959 </dd> 960 </dl> 961 </div> 962 </div> 963 964 965 966 <h2 id="installing">Installing the ADT Plugin</h2> 967 968 <p>The sections below provide instructions on how to download and install 969 ADT into your Eclipse environment. If you encounter problems, see the <a 970 href="#troubleshooting">Troubleshooting</a> section.</p> 971 972 973 <h3 id="preparing">Preparing Your Development Computer</h3> 974 975 <p>ADT is a plugin for the Eclipse IDE. Before you can install or use ADT, 976 you must have a compatible version of Eclipse installed on your development 977 computer. Check the <a 978 href="requirements.html">System Requirements</a> document for 979 a list of Eclipse versions that are compatible with the Android SDK.</li></p> 980 981 <ul> 982 <li>If Eclipse is already installed on your computer, make sure that it is 983 a version that is compatible with ADT and the Android SDK. 984 985 <li>If you need to install or update Eclipse, you can download it from this 986 location: 987 988 <p style="margin-left:2em;"><a href= 989 "http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a> 990 </p> 991 992 <p>The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP 993 version of Eclipse is recommended.</p></li> 994 </ul> 995 996 <p>Additionally, before you can configure or use ADT, you must install the 997 Android SDK starter package, as described in <a 998 href="installing.html#Installing">Downloading the SDK Starter Package</a>. 999 Specifically, you need to install a compatible version of the Android SDK Tools 1000 and at least one development platform. To simplify ADT setup, we recommend 1001 installing the Android SDK prior to installing ADT. </p> 1002 1003 <p>When your Eclipse and Android SDK environments are ready, continue with the 1004 ADT installation as described in the steps below. </p> 1005 1006 <h3 id="downloading">Downloading the ADT Plugin</h3> 1007 1008 <p>Use the Update Manager feature of your Eclipse installation to install the latest 1009 revision of ADT on your development computer.<> 1010 1011 <p>Assuming that you have a compatible version of the Eclipse IDE installed, as 1012 described in <a href="#preparing">Preparing for Installation</a>, above, follow 1013 these steps to download the ADT plugin and install it in your Eclipse 1014 environment.</p> 1015 1016 1017 <ol> 1018 <li>Start Eclipse, then select <strong>Help</strong> > <strong>Install New 1019 Software...</strong>.</li> 1020 <li>Click <strong>Add</strong>, in the top-right corner.</li> 1021 <li>In the Add Repository dialog that appears, enter "ADT Plugin" for the <em>Name</em> and the 1022 following URL for the <em>Location</em>: 1023 <pre>https://dl-ssl.google.com/android/eclipse/</pre> 1024 </li> 1025 <li>Click <strong>OK</strong> 1026 <p>Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, 1027 instead of "https" (https is preferred for security reasons).</p></li> 1028 <li>In the Available Software dialog, select the checkbox next to Developer Tools and click 1029 <strong>Next</strong>.</li> 1030 <li>In the next window, you'll see a list of the tools to be downloaded. Click 1031 <strong>Next</strong>. </li> 1032 <li>Read and accept the license agreements, then click <strong>Finish</strong>. 1033 <p>Note: If you get a security warning saying that the authenticity or validity of 1034 the software can't be established, click <strong>OK</strong>.</p></li> 1035 <li>When the installation completes, restart Eclipse. </li> 1036 </ol> 1037 1038 <h3 id="configuring">Configuring the ADT Plugin</h3> 1039 1040 <p>After you've successfully downloaded the ADT as described above, the next step 1041 is to modify your ADT preferences in Eclipse to point to the Android SDK directory:</p> 1042 1043 <ol> 1044 <li>Select <strong>Window</strong> > <strong>Preferences...</strong> to open the Preferences 1045 panel (Mac OS X: <strong>Eclipse</strong> > <strong>Preferences</strong>).</li> 1046 <li>Select <strong>Android</strong> from the left panel.</li> 1047 <p>You may see a dialog asking whether you want to send usage statistics to Google. If so, 1048 make your choice and click <strong>Proceed</strong>. You cannot continue with this procedure until 1049 you click <strong>Proceed</strong>.</p> 1050 <li>For the <em>SDK Location</em> in the main panel, click <strong>Browse...</strong> and 1051 locate your downloaded SDK directory. </li> 1052 <li>Click <strong>Apply</strong>, then <strong>OK</strong>.</li> 1053 </ol> 1054 1055 <p>Done! If you haven't encountered any problems, then the installation is 1056 complete. If you're installing the Android SDK for the first time, return to <a 1057 href="{@docRoot}sdk/installing.html#InstallingADT">Installing the SDK</a> to complete your setup. 1058 </p> 1059 1060 1061 <h3 id="troubleshooting">Troubleshooting ADT Installation</h3> 1062 1063 <p> If you are having trouble downloading the ADT plugin after following the 1064 steps above, here are some suggestions: </p> 1065 1066 <ul> 1067 <li>If Eclipse can not find the remote update site containing the ADT plugin, 1068 try changing the remote site URL to use http, rather than https. That is, set 1069 the Location for the remote site to: 1070 <pre>http://dl-ssl.google.com/android/eclipse/</pre></li> 1071 <li>If you are behind a firewall (such as a corporate firewall), make sure that 1072 you have properly configured your proxy settings in Eclipse. In Eclipse, 1073 you can configure proxy information from the main Eclipse menu in 1074 <strong>Window</strong> (on Mac OS X, <strong>Eclipse</strong>) > 1075 <strong>Preferences</strong> > <strong>General</strong> > <strong>Network 1076 Connections</strong>.</li> 1077 </ul> 1078 1079 <p> If you are still unable to use Eclipse to download the ADT plugin as a 1080 remote update site, you can download the ADT zip file to your local machine and 1081 manually install it:</p> 1082 1083 <ol> 1084 <li>Download the current ADT Plugin zip file from the table below (do not unpack it). 1085 1086 <table class="download"> 1087 <tr> 1088 <th>Name</th> 1089 <th>Package</th> 1090 <th>Size</th> 1091 <th>MD5 Checksum</th> 1092 </tr> 1093 <tr> 1094 <td>ADT {@adtZipVersion}</td> 1095 <td> 1096 <a href="http://dl.google.com/android/{@adtZipDownload}">{@adtZipDownload}</a> 1097 </td> 1098 <td>{@adtZipBytes} bytes</td> 1099 <td>{@adtZipChecksum}</td> 1100 </tr> 1101 </table> 1102 </li> 1103 1104 </li> 1105 <li>Follow steps 1 and 2 in the <a href="#installing">default install 1106 instructions</a> (above).</li> 1107 <li>In the Add Site dialog, click <strong>Archive</strong>.</li> 1108 <li>Browse and select the downloaded zip file.</li> 1109 <li>Enter a name for the local update site (e.g., 1110 "Android Plugin") in the "Name" field.</li> 1111 <li>Click <strong>OK</strong>. 1112 <li>Follow the remaining procedures as listed for 1113 <a href="#installing">default installation</a> above, 1114 starting from step 4.</li> 1115 </ol> 1116 1117 <p>To update your plugin once you've installed using the zip file, you will have 1118 to follow these steps again instead of the default update instructions.</p> 1119 1120 <h4>Other install errors</h4> 1121 1122 <p>Note that there are features of ADT that require some optional 1123 Eclipse components (for example, WST). If you encounter an error when 1124 installing ADT, your Eclipse installion might not include these components. 1125 For information about how to quickly add the necessary components to your 1126 Eclipse installation, see the troubleshooting topic 1127 <a href="{@docRoot}resources/faq/troubleshooting.html#installeclipsecomponents">ADT 1128 Installation Error: "requires plug-in org.eclipse.wst.sse.ui"</a>.</p> 1129 1130 <h4>For Linux users</h4> 1131 <p>If you encounter this error when installing the ADT Plugin for Eclipse: 1132 <pre> 1133 An error occurred during provisioning. 1134 Cannot connect to keystore. 1135 JKS</pre> 1136 <p> 1137 ...then your development machine lacks a suitable Java VM. Installing Sun 1138 Java 6 will resolve this issue and you can then reinstall the ADT 1139 Plugin.</p> 1140 1141 1142 <h2 id="updating">Updating the ADT Plugin</h2> 1143 1144 <p>From time to time, a new revision of the ADT Plugin becomes available, with 1145 new features and bug fixes. Generally, when a new revision of ADT is available, 1146 you should update to it as soon as convenient. </p> 1147 1148 <p>In some cases, a new revision of ADT will have a dependency on a specific 1149 revision of the Android SDK Tools. If such dependencies exist, you will need to 1150 update the SDK Tools component of the SDK after installing the new revision of 1151 ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as 1152 described in <a href="adding-components.html">Adding SDK Components</a>.</p> 1153 1154 <p>To learn about new features of each ADT revision and also any dependencies on 1155 the SDK Tools, see the listings in the <a href="#notes">Revisions</a> 1156 section. To determine the version currently installed, open the 1157 Eclipse Installed Software window using <strong>Help</strong> 1158 > <strong>Software Updates</strong> and refer to the version listed for 1159 "Android Development Tools".</p> 1160 1161 <p>Follow the steps below to check whether an update is available and, if so, 1162 to install it. </p> 1163 1164 <ol> 1165 <li>Select <strong>Help</strong> > <strong>Check for Updates</strong>. 1166 <p>If there are no updates available, a dialog will say so and you're done.</p></li> 1167 <li>If there are updates available, select Android DDMS, Android Development Tools, 1168 and Android Hierarchy Viewer, then click <strong>Next</strong>.</li> 1169 <li>In the Update Details dialog, click <strong>Next</strong>.</li> 1170 <li>Read and accept the license agreement and then click <strong>Finish</strong>. 1171 This will download and install the latest version of Android DDMS and 1172 Android Development Tools.</li> 1173 <li>Restart Eclipse.</li> 1174 </ol> 1175 1176 1177 <p>If you encounter problems during the update, remove the existing ADT plugin from Eclipse, then 1178 perform a fresh installation, using the instructions for <a href="#installing">Installing the ADT 1179 Plugin</a>.</p> 1180 1181