1page.title=ADT Plugin for Eclipse 2adt.zip.version=15.0.0 3adt.zip.download=ADT-15.0.0.zip 4adt.zip.bytes=6750682 5adt.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 35that is designed to give you a powerful, integrated environment in which 36to build Android applications.</p> 37 38<p>ADT extends the capabilities of Eclipse to let you quickly set up new Android 39projects, create an application UI, add components based on the Android 40Framework API, debug your applications using the Android SDK tools, and even 41export 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 44to get started. With the guided project setup it provides, as well as tools 45integration, custom XML editors, and debug ouput pane, ADT gives you an 46incredible boost in developing Android applications. </p> 47 48<p>This document provides step-by-step instructions on how to download the ADT 49plugin and install it into your Eclipse development environment. Note that 50before you can install or use ADT, you must have compatible versions of both the 51Eclipse IDE and the Android SDK installed. For details, make sure to read <a 52href="#installing">Installing the ADT Plugin</a>, below. </p> 53 54<p>If you are already using ADT, this document also provides instructions on 55how 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 59editor features, SDK tool integration, and the graphical layout editor (for drag-and-drop layout 60editing), see the <a href="{@docRoot}guide/developing/tools/adt.html">Android Developer Tools</a> 61document.</p> 62 63 64<h2 id="notes">Revisions</h2> 65 66<p>The sections below provide notes about successive releases of 67the ADT Plugin, as denoted by revision number. </p> 68 69<p>For a summary of all known issues in ADT, see <a 70href="http://tools.android.com/knownissues">http://tools.android.com/knownissues</a>.</p> 71 72<script type="text/javascript"> 73function toggleDiv(link) { 74 var toggleable = $(link).parent(); 75 if (toggleable.hasClass("closed")) { 76 //$(".toggleme", toggleable).slideDown("fast"); 77 toggleable.removeClass("closed"); 78 toggleable.addClass("open"); 79 $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png")); 80 } else { 81 //$(".toggleme", toggleable).slideUp("fast"); 82 toggleable.removeClass("open"); 83 toggleable.addClass("closed"); 84 $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png")); 85 } 86 return false; 87} 88</script> 89<style> 90.toggleable { 91padding: .25em 1em; 92} 93.toggleme { 94 padding: 1em 1em 0 2em; 95 line-height:1em; 96} 97.toggleable a { 98 text-decoration:none; 99} 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" 115width="9px" /> 116ADT 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>. 123If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK and AVD Manager to 124do 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" 146width="9px" /> 147ADT 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>. 154If you haven't already installed SDK Tools r14 into your SDK, use the Android SDK and AVD Manager to 155do 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, 176see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project 177site</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 186development environment (<a href="http://tools.android.com/recent/welcomewizard">more 187info</a>).</li> 188<li>Integrated the Android Asset Studio, which helps you create icons for things 189like the launcher, menus, and tabs. (<a 190href="http://tools.android.com/recent/assetstudiointegration">more 191info</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 196info</a>).</li> 197<li>Revamped the New Project and the New XML File wizards to have 198multiple pages. Sample projects are now copied into the workspace such that they can be modified 199and 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 213between 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 216more</a>).</li> 217 <li>Improved "smart indent", which allows automatic indentation and un-indentation 218 when pressing the Return key in XML editors (<a 219href="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 231info</a>).</li> 232 <li>Added the ability to suppress rendering fidelity warnings (<a 233href="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 237href="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 246href="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 252href="http://tools.android.com/recent/miscellaneousrecentfixes">minor improvements</a>, in 253particular some <a href="http://tools.android.com/recent/linuxfixes">critical bug fixes on 254Linux</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" 264width="9px" /> 265ADT 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 272already installed SDK Tools r12 into your SDK, use 273the 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" 316width="9px" /> 317ADT 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 325already installed SDK Tools r11 into your SDK, use the Android SDK and AVD Manager to do 326so.</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 332them as a new style defined in {@code styles.xml} (<a 333href="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 337href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more 338info</a>).</li> 339 <li>"Change Layout" feature changes layouts from one type 340 to another, and can also flatten a layout hierarchy (<a 341href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more 342info</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 347href="http://tools.android.com/recent/newrefactoringswrapinchangelayoutchangewidget">more 348info</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 352href="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 356href="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 364the goodies demonstrated at Google I/O. <a href="http://www.youtube.com/watch?v=Oq05KqjXTvs">Watch 365the video</a> on YouTube.</li> 366 <li>The palette now supports different configurations for supported widgets. That is, a single 367view is presented in various different configurations that you can drag into your layout. For 368example, there is a <em>Text Fields</em> palette category where you can drag an {@link 369android.widget.EditText} widget in as a password field, an e-mail field, a phone field, or other 370types of text boxes. Similarly, {@link android.widget.TextView} widgets are preconfigured 371with large, normal and small theme sizes, and {@link android.widget.LinearLayout} elements are 372preconfigured in horizontal and vertical configurations (<a 373href="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 376drag them into your layout (<a 377href="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 379choose which layout to show rendered for a given fragment tag. Go to declaration works for fragment 380classes (<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 389href="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 398with, defaulting to the currently visible configuration in the previous file. It also considers the 399SDK 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 401are <strong>Request Focus</strong> and <strong>Clear Focus</strong> context menu items on text 402fields 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 412handle text replacement (<a 413href="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 418href="http://tools.android.com/recent/codecompletionfordrawablescolorsandanimationfiles">more 419info</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 428snapshot 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 441href="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" 452width="9px" /> 453ADT 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 461already installed SDK Tools r10 into your SDK, use the Android SDK and AVD Manager to do 462so.</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 468not open.</li> 469 <li>Fix issue in which ADT 10.0.0 would install on Eclipse 3.4 and lower, even though ADT 470requires 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" 482width="9px" /> 483ADT 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 491already installed SDK Tools r10 into your SDK, use the Android SDK and AVD Manager to do 492so.</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" 532width="9px" /> 533ADT 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 541already installed SDK Tools r9 into your SDK, use the Android SDK and AVD Manager to do 542so.</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" 641width="9px" /> 642ADT 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 650already installed SDK Tools r8 into your SDK, use the Android SDK and AVD Manager to do 651so.</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" 670width="9px" /> 671ADT 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 679already installed SDK Tools r8 into your SDK, use the Android SDK and AVD Manager to do 680so.</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 686number for your ADT plugin should now always match the revision number of your SDK Tools. For 687example, 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" /> 717ADT 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 725and later. ADT 0.9.9 includes the ADT 0.9.8 features as well as an important 726bugfix, so we recommend that you upgrade as soon as possible. If you haven't 727already installed SDK Tools r7 into your SDK, use the Android SDK Manager to do 728so.</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" /> 744ADT 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 761contextual menu. The Action does a full application package refactoring. 762<li>Adds support for library projects that don't have a source folder 763called <code>src/</code>. There is now support for any number of source folders, 764with 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 766in ADT 0.9.7, see <a 767href="{@docRoot}guide/developing/projects/index.html#libraryMigrating">Migrating 768library projects to ADT 0.9.8</a> for important information about moving 769to the new ADT environment.</li> 770<li>Adds support for library projects that depend on other library 771projects.</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 776resolution/density combinations listed in the <a 777href="{@docRoot}guide/practices/screens_support.html#range">Supporting 778Multiple Screens</a> are now available.</li> 779<li>Fixes problems with handling of library project names that 780contain characters that are incompatible with the Eclipse path variable. 781Now properly sets up the link between the main project and the library 782project.</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" /> 793ADT 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 800development, a capability that lets you store shared Android application 801code and resources in a separate development project. You can then reference the 802library project from other Android projects and, at build time, the tools 803compile the shared code and resources as part of the dependent applications. 804More information about this feature is available in the <a 805href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document. </p> 806<p>If you are not developing in Eclipse, <a 807href="tools-notes.html">SDK Tools r6</a> provides the equivalent library 808project 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" /> 818ADT 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 825updating to ADT 0.9.6, we highly recommend that you use the Android SDK and 826AVD 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 832automatically update the project.</li> 833<li>Loads the SDK content only when a project requires it. This will make 834Eclipse use less resources when the SDK contains many versions of Android.</li> 835<li>Resolves potential deadlock between modal dialogs, when launching ADT the 836first 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 855exception 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 862so 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 864easier to see layout objects.</li> 865<li>Several fixes in the configuration selector of the Visual Layout 866Editor.</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 873Home screen.</li> 874<li>Fixes issue where add-on with no optional library would not show up as valid 875targets 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" /> 886ADT 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 892ADT 0.9.5, which is highly recommended, you should use the Android SDK and AVD 893Manager to download the latest SDK Tools into your SDK. For more information, 894see <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" /> 913ADT 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 919ADT 0.9.4, which is highly recommended, you should use the Android SDK and AVD 920Manager to download the latest SDK Tools into your SDK. For more information, 921see <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 935render on different devices. Default device descriptions include ADP1 936and Google Ion, while SDK add-ons can also provide new descriptions. 937A 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 939bigger 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 948disk. If a profiler such as MAT (<a href="http://eclipse.org/mat">Memory Analyzer 949Tool</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, 957revision 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 969ADT into your Eclipse environment. If you encounter problems, see the <a 970href="#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, 976you must have a compatible version of Eclipse installed on your development 977computer. Check the <a 978href="requirements.html">System Requirements</a> document for 979a 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 983a 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 986location: 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 993version of Eclipse is recommended.</p></li> 994</ul> 995 996<p>Additionally, before you can configure or use ADT, you must install the 997Android SDK starter package, as described in <a 998href="installing.html#Installing">Downloading the SDK Starter Package</a>. 999Specifically, you need to install a compatible version of the Android SDK Tools 1000and at least one development platform. To simplify ADT setup, we recommend 1001installing the Android SDK prior to installing ADT. </p> 1002 1003<p>When your Eclipse and Android SDK environments are ready, continue with the 1004ADT 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 1009revision of ADT on your development computer.<> 1010 1011<p>Assuming that you have a compatible version of the Eclipse IDE installed, as 1012described in <a href="#preparing">Preparing for Installation</a>, above, follow 1013these steps to download the ADT plugin and install it in your Eclipse 1014environment.</p> 1015 1016 1017<ol> 1018 <li>Start Eclipse, then select <strong>Help</strong> > <strong>Install New 1019Software...</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 1022following 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, 1027instead 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 1034the 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 1041is 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, 1048make your choice and click <strong>Proceed</strong>. You cannot continue with this procedure until 1049you 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 1056complete. If you're installing the Android SDK for the first time, return to <a 1057href="{@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 1064steps above, here are some suggestions: </p> 1065 1066<ul> 1067 <li>If Eclipse can not find the remote update site containing the ADT plugin, 1068try changing the remote site URL to use http, rather than https. That is, set 1069the 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 1072you have properly configured your proxy settings in Eclipse. In Eclipse, 1073you 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 1076Connections</strong>.</li> 1077</ul> 1078 1079<p> If you are still unable to use Eclipse to download the ADT plugin as a 1080remote update site, you can download the ADT zip file to your local machine and 1081manually 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 1118to 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 1123Eclipse components (for example, WST). If you encounter an error when 1124installing ADT, your Eclipse installion might not include these components. 1125For information about how to quickly add the necessary components to your 1126Eclipse installation, see the troubleshooting topic 1127<a href="{@docRoot}resources/faq/troubleshooting.html#installeclipsecomponents">ADT 1128Installation 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> 1133An error occurred during provisioning. 1134Cannot connect to keystore. 1135JKS</pre> 1136<p> 1137...then your development machine lacks a suitable Java VM. Installing Sun 1138Java 6 will resolve this issue and you can then reinstall the ADT 1139Plugin.</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 1145new features and bug fixes. Generally, when a new revision of ADT is available, 1146you 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 1149revision of the Android SDK Tools. If such dependencies exist, you will need to 1150update the SDK Tools component of the SDK after installing the new revision of 1151ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as 1152described 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 1155the SDK Tools, see the listings in the <a href="#notes">Revisions</a> 1156section. To determine the version currently installed, open the 1157Eclipse 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, 1162to 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 1178perform a fresh installation, using the instructions for <a href="#installing">Installing the ADT 1179Plugin</a>.</p> 1180 1181