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