Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 1 | page.title=ADT Plugin for Eclipse |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 2 | sdk.preview=0 |
Scott Main | 92b0308 | 2010-12-14 17:55:27 -0800 | [diff] [blame] | 3 | adt.zip.version=8.0.1 |
| 4 | adt.zip.download=ADT-8.0.1.zip |
| 5 | adt.zip.bytes=8724909 |
| 6 | adt.zip.checksum=0e62185279083ddc01f18098ce7ba2d1 |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 7 | |
| 8 | @jd:body |
| 9 | |
| 10 | <div id="qv-wrapper"> |
| 11 | <div id="qv"> |
| 12 | |
| 13 | <h2>In this document</h2> |
| 14 | <ol> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 15 | <li><a href="#notes">Revisions</a></li> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 16 | <li><a href="#installing">Installing the ADT Plugin</a> |
| 17 | <ol> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 18 | <li><a href="#preparing">Preparing for Installation</a></li> |
| 19 | <li><a href="#downloading">Downloading the ADT Plugin</a> |
| 20 | <li><a href="#configuring">Configuring the ADT Plugin</a></li> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 21 | <li><a href="#troubleshooting">Troubleshooting</a></li> |
| 22 | </ol> |
| 23 | </li> |
| 24 | <li><a href="#updating">Updating the ADT Plugin</a></li> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 25 | </ol> |
| 26 | |
| 27 | </div> |
| 28 | </div> |
| 29 | |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 30 | <p>Android Development Tools (ADT) is a plugin for the Eclipse IDE |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 31 | that is designed to give you a powerful, integrated environment in which |
| 32 | to build Android applications. </p> |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 33 | |
Scott Main | 13244e5 | 2010-01-19 11:12:07 -0800 | [diff] [blame] | 34 | <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] | 35 | projects, create an application UI, add components based on the Android |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 36 | Framework API, debug your applications using the Android SDK tools, and even |
| 37 | export signed (or unsigned) APKs in order to distribute your application.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 38 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 39 | <p>Developing in Eclipse with ADT is highly recommended and is the fastest way |
| 40 | to get started. With the guided project setup it provides, as well as tools |
| 41 | integration, custom XML editors, and debug ouput pane, ADT gives you an |
| 42 | incredible boost in developing Android applications. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 43 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 44 | <p>This document provides step-by-step instructions on how to download the ADT |
| 45 | plugin and install it into your Eclipse development environment. Note that |
| 46 | before you can install or use ADT, you must have compatible versions of both the |
| 47 | Eclipse IDE and the Android SDK installed. For details, make sure to read <a |
| 48 | href="#installing">Installing the ADT Plugin</a>, below. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 49 | |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 50 | <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] | 51 | how to update ADT to the latest version or how to uninstall it, if necessary. |
| 52 | </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 53 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 54 | <h2 id="notes">Revisions</h2> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 55 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 56 | <p>The sections below provide notes about successive releases of |
| 57 | the ADT Plugin, as denoted by revision number. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 58 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 59 | <script type="text/javascript"> |
| 60 | function toggleDiv(link) { |
| 61 | var toggleable = $(link).parent(); |
| 62 | if (toggleable.hasClass("closed")) { |
| 63 | //$(".toggleme", toggleable).slideDown("fast"); |
| 64 | toggleable.removeClass("closed"); |
| 65 | toggleable.addClass("open"); |
| 66 | $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png")); |
| 67 | } else { |
| 68 | //$(".toggleme", toggleable).slideUp("fast"); |
| 69 | toggleable.removeClass("open"); |
| 70 | toggleable.addClass("closed"); |
| 71 | $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png")); |
| 72 | } |
| 73 | return false; |
| 74 | } |
| 75 | </script> |
| 76 | <style> |
| 77 | .toggleable { |
| 78 | padding: .25em 1em; |
| 79 | } |
| 80 | .toggleme { |
| 81 | padding: 1em 1em 0 2em; |
| 82 | line-height:1em; |
| 83 | } |
| 84 | .toggleable a { |
| 85 | text-decoration:none; |
| 86 | } |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 87 | .toggleme a { |
| 88 | text-decoration:underline; |
| 89 | } |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 90 | .toggleable.closed .toggleme { |
| 91 | display:none; |
| 92 | } |
| 93 | #jd-content .toggle-img { |
| 94 | margin:0; |
| 95 | } |
| 96 | </style> |
| 97 | |
Dirk Dougherty | 022171b | 2010-07-30 19:24:17 -0700 | [diff] [blame] | 98 | |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 99 | <div class="toggleable opened"> |
| 100 | <a href="#" onclick="return toggleDiv(this)"> |
Scott Main | 92b0308 | 2010-12-14 17:55:27 -0800 | [diff] [blame] | 101 | <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" |
| 102 | width="9px" /> |
| 103 | ADT 8.0.1</a> <em>(December 2010)</em> |
| 104 | <div class="toggleme"> |
| 105 | |
| 106 | <dl> |
| 107 | |
| 108 | <dt>Dependencies:</dt> |
| 109 | |
| 110 | <p><p>ADT 8.0.1 is designed for use with SDK Tools r8. If you haven't |
| 111 | already installed SDK Tools r8 into your SDK, use the Android SDK and AVD Manager to do |
| 112 | so.</p></dd> |
| 113 | |
| 114 | <dt>General notes:</dt> |
| 115 | <dd> |
| 116 | <ul> |
| 117 | <li>This is a quick follow-up to ADT 8.0.0 to fix some bugs.</li> |
| 118 | <li>Fixes an issue in which projects failed to compile, citing a dex error.</li> |
| 119 | <li>Better ProGuard error reporting when exporting applications for release.</li> |
| 120 | </ul> |
| 121 | <p>Also see the recent release notes for 8.0.0, below.</p> |
| 122 | </dd> |
| 123 | </dl> |
| 124 | </div> |
| 125 | </div> |
| 126 | |
| 127 | |
| 128 | <div class="toggleable closed"> |
| 129 | <a href="#" onclick="return toggleDiv(this)"> |
| 130 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" |
| 131 | width="9px" /> |
Dirk Dougherty | 9f7580d | 2010-10-26 09:29:03 -0700 | [diff] [blame] | 132 | ADT 8.0.0</a> <em>(December 2010)</em> |
Dirk Dougherty | 9a97aaf | 2010-09-23 11:48:54 -0700 | [diff] [blame] | 133 | <div class="toggleme"> |
| 134 | |
Scott Main | c0c0c42 | 2010-11-05 15:23:36 -0700 | [diff] [blame] | 135 | <dl> |
Dirk Dougherty | 9a97aaf | 2010-09-23 11:48:54 -0700 | [diff] [blame] | 136 | |
Scott Main | c0c0c42 | 2010-11-05 15:23:36 -0700 | [diff] [blame] | 137 | <dt>Dependencies:</dt> |
| 138 | |
Dirk Dougherty | 9f7580d | 2010-10-26 09:29:03 -0700 | [diff] [blame] | 139 | <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] | 140 | already installed SDK Tools r8 into your SDK, use the Android SDK and AVD Manager to do |
| 141 | so.</p></dd> |
| 142 | |
| 143 | <dt>General notes:</dt> |
| 144 | <dd> |
| 145 | <ul> |
| 146 | <li>New version number scheme that follows the SDK Tools revision number. The major version |
| 147 | number for your ADT plugin should now always match the revision number of your SDK Tools. For |
| 148 | example, ADT 8.x is for SDK Tools r8.</li> |
| 149 | <li>Support for true debug build. You no longer need to change the value of the |
| 150 | <code>debuggable</code> attribute in the Android Manifest. |
| 151 | <p>Incremental builds automatically insert <code>debuggable="true"</code>, but if you perform |
| 152 | "export signed/unsigned application package", ADT does <em>not</em> insert it. |
| 153 | If you manually set <code>debuggable="true"</code> in the manifest file, then release builds will |
| 154 | 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] | 155 | <li>Automatic <a href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a> support in |
| 156 | release builds. For it to work, you need to have a <code>proguard.config</code> |
| 157 | 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] | 158 | <li>Completely rewritten Visual Layout Editor. (This is still a work in progress.) Now includes: |
| 159 | <ul> |
| 160 | <li>Full drag and drop from palette to layout for all Layout classes.</li> |
| 161 | <li>Move widgets inside a Layout view, from one Layout view to another and from one layout file to another.</li> |
| 162 | <li>Contextual menu with enum/flag type properties.</li> |
| 163 | <li>New zoom controls.</li> |
| 164 | </ul></li> |
| 165 | <li>New HierarchyViewer plug-in integrated in Eclipse.</li> |
| 166 | <li>Android launch configurations don't recompile the whole workspace on launch anymore.</li> |
| 167 | <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] | 168 | </ul> |
| 169 | </dd> |
Scott Main | c0c0c42 | 2010-11-05 15:23:36 -0700 | [diff] [blame] | 170 | </dl> |
| 171 | </div> |
| 172 | </div> |
| 173 | |
| 174 | |
| 175 | <div class="toggleable closed"> |
| 176 | <a href="#" onclick="return toggleDiv(this)"> |
| 177 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 178 | ADT 0.9.9</a> <em>(September 2010)</em> |
| 179 | <div class="toggleme"> |
Dirk Dougherty | 9a97aaf | 2010-09-23 11:48:54 -0700 | [diff] [blame] | 180 | |
| 181 | <dl> |
| 182 | |
| 183 | <dt>Dependencies:</dt> |
| 184 | |
| 185 | <dd><p>ADT 0.9.9 replaces ADT 0.9.8 and is designed for use with SDK Tools r7 |
| 186 | and later. ADT 0.9.9 includes the ADT 0.9.8 features as well as an important |
| 187 | bugfix, so we recommend that you upgrade as soon as possible. If you haven't |
| 188 | already installed SDK Tools r7 into your SDK, use the Android SDK Manager to do |
| 189 | so.</p></dd> |
| 190 | |
| 191 | <dt>General notes:</dt> |
| 192 | <dd> |
| 193 | <ul> |
| 194 | <li>Fixes a problem in project import, in which source files were deleted in some cases.</li> |
| 195 | <li>Includes all other ADT 0.9.8 features (see below).</li> |
| 196 | </ul> |
| 197 | </dd> |
| 198 | </dl> |
| 199 | </div> |
| 200 | </div> |
| 201 | |
| 202 | <div class="toggleable closed"> |
| 203 | <a href="#" onclick="return toggleDiv(this)"> |
| 204 | <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] | 205 | ADT 0.9.8</a> <em>(September 2010)</em> |
Dirk Dougherty | 022171b | 2010-07-30 19:24:17 -0700 | [diff] [blame] | 206 | <div class="toggleme"> |
| 207 | |
| 208 | |
| 209 | </ul> |
| 210 | </dd> |
| 211 | |
| 212 | <dl> |
| 213 | |
| 214 | <dt>Dependencies:</dt> |
| 215 | |
Dirk Dougherty | 9a97aaf | 2010-09-23 11:48:54 -0700 | [diff] [blame] | 216 | <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] | 217 | |
| 218 | <dt>General notes:</dt> |
| 219 | <dd> |
| 220 | <ul> |
| 221 | <li>Adds a new Action, "Rename Application Package", to the Android Tools |
| 222 | contextual menu. The Action does a full application package refactoring. |
| 223 | <li>Adds support for library projects that don't have a source folder |
| 224 | called <code>src/</code>. There is now support for any number of source folders, |
| 225 | with no name restriction. They can even be in subfolder such as |
| 226 | <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] | 227 | in ADT 0.9.7, see <a |
Robert Ly | c74a69a8 | 2011-01-04 22:48:02 -0800 | [diff] [blame] | 228 | href="{@docRoot}guide/developing/projects/index.html#libraryMigrating">Migrating |
Dirk Dougherty | 022171b | 2010-07-30 19:24:17 -0700 | [diff] [blame] | 229 | library projects to ADT 0.9.8</a> for important information about moving |
| 230 | to the new ADT environment.</li> |
| 231 | <li>Adds support for library projects that depend on other library |
| 232 | projects.</li> |
| 233 | <li>Adds support for additional resource qualifiers: |
| 234 | <code>car</code>/<code>desk</code>, <code>night</code>/<code>notnight</code> and |
| 235 | <code>navexposed</code>/<code>navhidden</code>.</li> |
| 236 | <li>Adds more device screen types in the layout editor. All screen |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 237 | resolution/density combinations listed in the <a |
Dirk Dougherty | 022171b | 2010-07-30 19:24:17 -0700 | [diff] [blame] | 238 | href="{@docRoot}guide/practices/screens_support.html#range">Supporting |
| 239 | Multiple Screens</a> are now available.</li> |
| 240 | <li>Fixes problems with handling of library project names that |
| 241 | contain characters that are incompatible with the Eclipse path variable. |
| 242 | Now properly sets up the link between the main project and the library |
| 243 | project.</li> |
| 244 | </ul> |
| 245 | </dd> |
| 246 | </dl> |
| 247 | </div> |
| 248 | </div> |
| 249 | |
| 250 | |
| 251 | <div class="toggleable closed"> |
| 252 | <a href="#" onclick="return toggleDiv(this)"> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 253 | <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] | 254 | ADT 0.9.7</a> <em>(May 2010)</em> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 255 | <div class="toggleme"> |
| 256 | |
| 257 | <dl> |
| 258 | <dt>Library projects:</dt> |
| 259 | <dd> |
| 260 | <p>The ADT Plugin now supports the use of <em>library projects</em> during |
| 261 | development, a capability that lets you store shared Android application |
| 262 | code and resources in a separate development project. You can then reference the |
| 263 | library project from other Android projects and, at build time, the tools |
| 264 | compile the shared code and resources as part of the dependent applications. |
| 265 | More information about this feature is available in the <a |
Robert Ly | c74a69a8 | 2011-01-04 22:48:02 -0800 | [diff] [blame] | 266 | 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] | 267 | <p>If you are not developing in Eclipse, <a |
| 268 | href="tools-notes.html">SDK Tools r6</a> provides the equivalent library |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 269 | project support through the Ant build system.</p> |
| 270 | </dd> |
| 271 | </dl> |
| 272 | </div> |
| 273 | </div> |
| 274 | |
Dirk Dougherty | 022171b | 2010-07-30 19:24:17 -0700 | [diff] [blame] | 275 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 276 | <div class="toggleable closed"> |
| 277 | <a href="#" onclick="return toggleDiv(this)"> |
| 278 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 279 | ADT 0.9.6</a> <em>(March 2010)</em> |
| 280 | <div class="toggleme"> |
| 281 | |
| 282 | <dl> |
| 283 | <dt>Dependencies:</dt> |
| 284 | |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 285 | <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] | 286 | updating to ADT 0.9.6, we highly recommend that you use the Android SDK and |
| 287 | AVD Manager to install SDK Tools r5 into your SDK.</p></dd> |
| 288 | |
| 289 | <dt>General Notes:</dt> |
| 290 | <dd> |
| 291 | <ul> |
| 292 | <li>Editing <code>default.properties</code> outside of Eclipse will now |
| 293 | automatically update the project.</li> |
| 294 | <li>Loads the SDK content only when a project requires it. This will make |
| 295 | Eclipse use less resources when the SDK contains many versions of Android.</li> |
| 296 | <li>Resolves potential deadlock between modal dialogs, when launching ADT the |
| 297 | first time with the SDK Usage panel.</li> |
| 298 | <li>Fixes issues with the New Project Wizard when selecting samples.</li> |
| 299 | </ul> |
| 300 | </dd> |
| 301 | <dt>AVD/SDK Manager:</dt> |
| 302 | <dd> |
| 303 | <ul> |
| 304 | <li>Adds support for platform samples components.</li> |
| 305 | <li>Improves support for dependency between components.</li> |
| 306 | <li>AVDs now sorted by API level.</li> |
| 307 | <li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li> |
| 308 | <li>Prevents deletion of running AVDs.</li> |
| 309 | </ul> |
| 310 | </dd> |
| 311 | <dt>DDMS:</dt> |
| 312 | <dd> |
| 313 | <ul> |
| 314 | <li>DDMS plug-in now contains the Allocation Tracker view.</li> |
| 315 | <li>New action in the Logcat view: "Go to problem" lets you go directly from an |
| 316 | exception trace output to the code.</li> |
| 317 | </ul> |
| 318 | </dd> |
| 319 | <dt>Editors:</dt> |
| 320 | <dd> |
| 321 | <ul> |
| 322 | <li>Explode mode in the Visual Layout Editor adds a margin to all layout objects |
| 323 | so that it's easier to see embedded or empty layouts.</li> |
| 324 | <li>Outline mode in the Visual Layout Editor draws layout outline to make it |
| 325 | easier to see layout objects.</li> |
| 326 | <li>Several fixes in the configuration selector of the Visual Layout |
| 327 | Editor.</li> |
| 328 | </ul> |
| 329 | </dd> |
| 330 | <dt>Application launching:</dt> |
| 331 | <dd> |
| 332 | <ul> |
| 333 | <li>Applications launched from ADT now behave as if they were clicked from the |
| 334 | Home screen.</li> |
| 335 | <li>Fixes issue where add-on with no optional library would not show up as valid |
| 336 | targets for application launches.</li> |
| 337 | <li>Resolves possible crash when launching applications.</li> |
| 338 | </ul> |
| 339 | </dd> |
| 340 | </dl> |
| 341 | </div> |
| 342 | </div> |
| 343 | |
| 344 | <div class="toggleable closed"> |
| 345 | <a href="#" onclick="return toggleDiv(this)"> |
| 346 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 347 | ADT 0.9.5</a> <em>(December 2009)</em> |
| 348 | <div class="toggleme"> |
| 349 | <dl> |
| 350 | <dt>Dependencies:</dt> |
| 351 | |
| 352 | <dd><p>ADT 0.9.5 requires features provided in SDK Tools r4 or higher. If you install |
| 353 | 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] | 354 | 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] | 355 | see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p> |
| 356 | </dd> |
| 357 | |
| 358 | <dt>General Notes:</dt> |
| 359 | <dd> |
| 360 | <ul> |
| 361 | <li>AVD Launch dialog now shows scale value.</li> |
| 362 | <li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no skin name specified.</li> |
| 363 | <li>Fixes XML validation issue in on older Java versions.</li> |
| 364 | <li>.apk packaging now properly ignores vi swap files as well as hidden files.</li> |
| 365 | </ul> |
| 366 | </dd> |
| 367 | </dl> |
| 368 | </div> |
| 369 | </div> |
| 370 | |
| 371 | <div class="toggleable closed"> |
| 372 | <a href="#" onclick="return toggleDiv(this)"> |
| 373 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 374 | ADT 0.9.4</a> <em>(October 2009)</em> |
| 375 | <div class="toggleme"> |
| 376 | <dl> |
| 377 | <dt>Dependencies:</dt> |
| 378 | |
| 379 | <dd><p>ADT 0.9.4 requires features provided in SDK Tools r3 or higher. If you install |
| 380 | ADT 0.9.4, which is highly recommended, you should use the Android SDK and AVD |
| 381 | Manager to download the latest SDK Tools into your SDK. For more information, |
| 382 | see <a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p> |
| 383 | </dd> |
| 384 | |
| 385 | <dt>Project Creation Wizard:</dt> |
| 386 | <dd> |
| 387 | <ul> |
| 388 | <li>New option to create a project from a sample by choosing it from a list.</li> |
| 389 | </ul> |
| 390 | </dd> |
| 391 | |
| 392 | <dt>Layout Editor:</dt> |
| 393 | <dd> |
| 394 | <ul> |
| 395 | <li>Improved Configuration selector that lets you see how your layout will |
| 396 | render on different devices. Default device descriptions include ADP1 |
| 397 | and Google Ion, while SDK add-ons can also provide new descriptions. |
| 398 | A new UI allows you to create custom descriptions.</li> |
| 399 | <li>Adds a new clipping toggle, to let you see your full layout even if it's |
| 400 | bigger than the screen.</li> |
| 401 | </ul> |
| 402 | </dd> |
| 403 | |
| 404 | <dt>DDMS Integration:</dt> |
| 405 | <dd> |
| 406 | <ul> |
| 407 | <li>Includes the improvements from the standlone DDMS, revision 3.</li> |
| 408 | <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] | 409 | 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] | 410 | Tool</a>) is installed, it'll open the file.</li> |
| 411 | </ul> |
| 412 | </dd> |
| 413 | |
| 414 | <dt>Android SDK and AVD Manager integration:</dt> |
| 415 | <dd> |
| 416 | <ul> |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 417 | <li>Includes the improvements from the standalone Android SDK and AVD Manager, |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 418 | revision 3.</li> |
| 419 | </ul> |
| 420 | </dd> |
| 421 | </dl> |
| 422 | </div> |
| 423 | </div> |
| 424 | |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 425 | |
| 426 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 427 | <h2 id="installing">Installing the ADT Plugin</h2> |
| 428 | |
| 429 | <p>The sections below provide instructions on how to download and install |
| 430 | ADT into your Eclipse environment. If you encounter problems, see the <a |
| 431 | href="#troubleshooting">Troubleshooting</a> section.</p> |
| 432 | |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 433 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 434 | <h3 id="preparing">Preparing Your Development Computer</h3> |
| 435 | |
| 436 | <p>ADT is a plugin for the Eclipse IDE. Before you can install or use ADT, |
| 437 | you must have a compatible version of Eclipse installed on your development |
| 438 | computer. </p> |
| 439 | |
| 440 | <ul> |
| 441 | <li>If Eclipse is already installed on your computer, make sure that it is |
| 442 | a version that is compatible with ADT and the Android SDK. Check the <a |
| 443 | href="requirements.html">System Requirements</a> document for |
| 444 | a list of Eclipse versions that are compatible with the Android SDK.</li> |
| 445 | <li>If you need to install or update Eclipse, you can download it from this |
| 446 | location: |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 447 | |
Dirk Dougherty | 22558d0 | 2009-12-10 16:25:06 -0800 | [diff] [blame] | 448 | <p style="margin-left:2em;"><a href= |
| 449 | "http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a> |
| 450 | </p> |
| 451 | |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 452 | <p>For Eclipse 3.5 or newer, the "Eclipse Classic" version is recommended. Otherwise, a Java or RCP |
| 453 | version of Eclipse is recommended.</p></li> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 454 | </ul> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 455 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 456 | <p>Additionally, before you can configure or use ADT, you must install the |
| 457 | Android SDK starter package, as described in <a |
Robert Ly | ef13d02 | 2010-07-12 14:32:22 -0700 | [diff] [blame] | 458 | href="installing.html#Installing">Downloading the SDK Starter Package</a>. |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 459 | Specifically, you need to install a compatible version of the Android SDK Tools |
| 460 | and at least one development platform. To simplify ADT setup, we recommend |
| 461 | installing the Android SDK prior to installing ADT. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 462 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 463 | <p>When your Eclipse and Android SDK environments are ready, continue with the |
| 464 | ADT installation as described in the steps below. </p> |
| 465 | |
| 466 | <h3 id="downloading">Downloading the ADT Plugin</h3> |
| 467 | |
| 468 | <p>Use Update Manager feature of your Eclipse installation to install the latest |
| 469 | revision of ADT on your development computer.<p> |
| 470 | |
| 471 | <p>Assuming that you have a compatible version of the Eclipse IDE installed, as |
| 472 | described in <a href="#preparing">Preparing for Installation</a>, above, follow |
| 473 | these steps to download the ADT plugin and install it in your Eclipse |
| 474 | environment. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 475 | |
| 476 | <table style="font-size:100%"> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 477 | <tr><th>Eclipse 3.5 (Galileo) and 3.6 (Helios)</th><th>Eclipse 3.4 (Ganymede)</th></tr> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 478 | <tr> |
| 479 | <td width="45%"> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 480 | <!-- 3.5+ steps --> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 481 | <ol> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 482 | <li>Start Eclipse, then select <strong>Help</strong> > <strong>Install New |
| 483 | Software...</strong>.</li> |
| 484 | <li>Click <strong>Add</strong>, in the top-right corner.</li> |
| 485 | <li>In the Add Repository dialog that appears, enter "ADT Plugin" for the <em>Name</em> and the |
| 486 | following URL for the <em>Location</em>: |
| 487 | <pre>https://dl-ssl.google.com/android/eclipse/</pre> |
Scott Main | 13244e5 | 2010-01-19 11:12:07 -0800 | [diff] [blame] | 488 | <p>Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 489 | instead of "https" (https is preferred for security reasons).</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 490 | <p>Click <strong>OK</strong>.</p></li> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 491 | <li>In the Available Software dialog, select |
| 492 | the checkbox next to Developer Tools and click <strong>Next</strong>.</li> |
| 493 | <li>In the next window, you'll see a list of the tools to be downloaded. Click |
| 494 | <strong>Next</strong>. </li> |
| 495 | <li>Read and accept the license agreements, then click <strong>Finish</strong>.</li> |
| 496 | <li>When the installation completes, restart Eclipse. </li> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 497 | </ol> |
| 498 | |
| 499 | </td> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 500 | <td width="50%"> |
| 501 | |
| 502 | <!-- 3.4 steps --> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 503 | <ol> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 504 | <li>Start Eclipse, then select <strong>Help</strong> > <strong>Software Updates...</strong>. |
| 505 | In the dialog that appears, click the <strong>Available Software</strong> tab.</li> |
| 506 | <li>Click <strong>Add Site</strong>.</li> |
| 507 | <li>In the Add Site dialog that appears, enter this URL in the "Location" field: |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 508 | <pre>https://dl-ssl.google.com/android/eclipse/</pre> |
Scott Main | 13244e5 | 2010-01-19 11:12:07 -0800 | [diff] [blame] | 509 | <p>Note: If you have trouble acquiring the plugin, you can try |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 510 | using "http" in the URL, instead of "https" (https is preferred for |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 511 | security reasons).</p> |
| 512 | <p>Click <strong>OK</strong>.</p> |
| 513 | </li> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 514 | <li>Back in the Available Software view, you should see the plugin listed by the URL, |
| 515 | with "Developer Tools" nested within it. Select the checkbox next to Developer Tools, |
| 516 | which will automatically select the nested tools. Then click |
| 517 | <strong>Install</strong></li> |
| 518 | <li>On the subsequent Install window, all of the included tools |
| 519 | should be checked. Click <strong>Next</strong>. </li> |
| 520 | <li>Read and accept the license agreements, then click <strong>Finish</strong>.</li> |
| 521 | <li>When the installation completes, restart Eclipse. </li> |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 522 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 523 | </ol> |
| 524 | </td> |
| 525 | </tr> |
| 526 | </table> |
| 527 | |
Scott Main | 369c1c1 | 2010-12-07 11:17:00 -0800 | [diff] [blame] | 528 | <h3 id="configuring">Configuring the ADT Plugin</h3> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 529 | |
Dirk Dougherty | 4b4af99 | 2010-09-13 11:24:06 -0700 | [diff] [blame] | 530 | <p>Once you've successfully downloaded ADT as described above, the next step |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 531 | is to modify your ADT preferences in Eclipse to point to the Android SDK directory:</p> |
| 532 | |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 533 | <ol> |
| 534 | <li>Select <strong>Window</strong> > <strong>Preferences...</strong> to open the Preferences |
| 535 | panel (Mac OS X: <strong>Eclipse</strong> > <strong>Preferences</strong>).</li> |
| 536 | <li>Select <strong>Android</strong> from the left panel. </li> |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 537 | <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] | 538 | locate your downloaded SDK directory. </li> |
| 539 | <li>Click <strong>Apply</strong>, then <strong>OK</strong>.</li> |
| 540 | </ol> |
| 541 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 542 | <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] | 543 | complete. If you're installing the Android SDK for the first time, return to <a |
| 544 | href="{@docRoot}sdk/installing.html#InstallingADT">Installing the SDK</a> to complete your setup. |
| 545 | </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 546 | |
| 547 | |
| 548 | <h3 id="troubleshooting">Troubleshooting ADT Installation</h3> |
| 549 | |
| 550 | <p> If you are having trouble downloading the ADT plugin after following the |
| 551 | steps above, here are some suggestions: </p> |
| 552 | |
| 553 | <ul> |
| 554 | <li>If Eclipse can not find the remote update site containing the ADT plugin, |
| 555 | try changing the remote site URL to use http, rather than https. That is, set |
| 556 | the Location for the remote site to: |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 557 | <pre>http://dl-ssl.google.com/android/eclipse/</pre></li> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 558 | <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] | 559 | you have properly configured your proxy settings in Eclipse. In Eclipse, |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 560 | you can configure proxy information from the main Eclipse menu in |
| 561 | <strong>Window</strong> (on Mac OS X, <strong>Eclipse</strong>) > |
| 562 | <strong>Preferences</strong> > <strong>General</strong> > <strong>Network |
| 563 | Connections</strong>.</li> |
| 564 | </ul> |
| 565 | |
| 566 | <p> If you are still unable to use Eclipse to download the ADT plugin as a |
| 567 | remote update site, you can download the ADT zip file to your local machine and |
| 568 | manually install it:</p> |
| 569 | |
| 570 | <ol> |
| 571 | <li>Download the current ADT Plugin zip file from the table below (do not unpack it). |
| 572 | |
| 573 | <table class="download"> |
| 574 | <tr> |
| 575 | <th>Name</th> |
| 576 | <th>Package</th> |
| 577 | <th>Size</th> |
| 578 | <th>MD5 Checksum</th> |
| 579 | </tr> |
| 580 | <tr> |
| 581 | <td>ADT {@adtZipVersion}</td> |
| 582 | <td> |
| 583 | <a href="http://dl.google.com/android/{@adtZipDownload}">{@adtZipDownload}</a> |
| 584 | </td> |
| 585 | <td>{@adtZipBytes} bytes</td> |
| 586 | <td>{@adtZipChecksum}</td> |
| 587 | </tr> |
| 588 | </table> |
| 589 | </li> |
| 590 | |
| 591 | </li> |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 592 | <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] | 593 | instructions</a> (above).</li> |
| 594 | <li>In the Add Site dialog, click <strong>Archive</strong>.</li> |
| 595 | <li>Browse and select the downloaded zip file.</li> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 596 | <li>Enter a name for the local update site (e.g., |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 597 | "Android Plugin") in the "Name" field.</li> |
| 598 | <li>Click <strong>OK</strong>. |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 599 | <li>Follow the remaining procedures as listed for |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 600 | <a href="#installing">default installation</a> above, |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 601 | starting from step 4.</li> |
| 602 | </ol> |
| 603 | |
| 604 | <p>To update your plugin once you've installed using the zip file, you will have |
| 605 | to follow these steps again instead of the default update instructions.</p> |
| 606 | |
| 607 | <h4>Other install errors</h4> |
| 608 | |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 609 | <p>Note that there are features of ADT that require some optional |
| 610 | Eclipse components (for example, WST). If you encounter an error when |
| 611 | installing ADT, your Eclipse installion might not include these components. |
| 612 | For information about how to quickly add the necessary components to your |
| 613 | Eclipse installation, see the troubleshooting topic |
| 614 | <a href="{@docRoot}resources/faq/troubleshooting.html#installeclipsecomponents">ADT |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 615 | Installation Error: "requires plug-in org.eclipse.wst.sse.ui"</a>.</p> |
| 616 | |
| 617 | <h4>For Linux users</h4> |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 618 | <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] | 619 | <pre> |
| 620 | An error occurred during provisioning. |
| 621 | Cannot connect to keystore. |
| 622 | JKS</pre> |
| 623 | <p> |
| 624 | ...then your development machine lacks a suitable Java VM. Installing Sun |
| 625 | Java 6 will resolve this issue and you can then reinstall the ADT |
| 626 | Plugin.</p> |
| 627 | |
| 628 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 629 | <h2 id="updating">Updating the ADT Plugin</h2> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 630 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 631 | <p>From time to time, a new revision of the ADT Plugin becomes available, with |
| 632 | new features and bug fixes. Generally, when a new revision of ADT is available, |
| 633 | you should update to it as soon as convenient. </p> |
| 634 | |
| 635 | <p>In some cases, a new revision of ADT will have a dependency on a specific |
| 636 | revision of the Android SDK Tools. If such dependencies exist, you will need to |
| 637 | update the SDK Tools component of the SDK after installing the new revision of |
| 638 | ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as |
| 639 | described in <a href="adding-components.html">Adding SDK Components</a>.</p> |
| 640 | |
| 641 | <p>To learn about new features of each ADT revision and also any dependencies on |
| 642 | 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] | 643 | section. To determine the version currently installed, open the |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 644 | Eclipse Installed Software window using <strong>Help</strong> |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 645 | > <strong>Software Updates</strong> and refer to the version listed for |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 646 | "Android Development Tools".</p> |
| 647 | |
Scott Main | 081127b | 2010-10-29 15:56:27 -0700 | [diff] [blame] | 648 | <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] | 649 | to install it. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 650 | |
| 651 | <table style="font-size:100%"> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 652 | <tr><th>Eclipse 3.5 (Galileo) and 3.6 (Helios)</th><th>Eclipse 3.4 (Ganymede)</th></tr> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 653 | <tr> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 654 | <td> |
| 655 | <!-- 3.5+ steps --> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 656 | <ol> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 657 | <li>Select <strong>Help</strong> > <strong>Check for Updates</strong>. |
| 658 | <p>If there are no updates available, a dialog will say so and you're done.</p></li> |
| 659 | <li>If there are updates available, select Android DDMS, Android Development Tools, |
| 660 | and Android Hierarchy Viewer, then click <strong>Next</strong>.</li> |
| 661 | <li>In the Update Details dialog, click <strong>Next</strong>.</li> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 662 | <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] | 663 | This will download and install the latest version of Android DDMS and |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 664 | Android Development Tools.</li> |
| 665 | <li>Restart Eclipse.</li> |
| 666 | </ol> |
| 667 | </td> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 668 | |
| 669 | <td width="50%"> |
| 670 | <!-- 3.4 steps --> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 671 | <ol> |
Scott Main | 77847a3 | 2010-11-09 16:41:32 -0800 | [diff] [blame] | 672 | <li>Select <strong>Help</strong> > <strong>Software Updates</strong>.</li> |
| 673 | <li>Select the <strong>Available Software</strong> tab.</li> |
| 674 | <li>If there are updates available, select Android DDMS, Android Development Tools, |
| 675 | and Android Hierarchy Viewer, then click <strong>Update</strong>.</li> |
| 676 | <li>In the resulting Available Updates dialog, ensure that each of the listed tools |
| 677 | are selected, then click <strong>Next</strong>.</li> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 678 | <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] | 679 | This will download and install the latest version of Android DDMS and |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 680 | Android Development Tools.</li> |
| 681 | <li>Restart Eclipse.</li> |
| 682 | </ol> |
| 683 | </td> |
| 684 | </tr> |
| 685 | </table> |
| 686 | |
| 687 | |
Scott Main | 090a3dc | 2010-12-07 10:38:55 -0800 | [diff] [blame] | 688 | <p>If you encounter problems during the update, remove the existing ADT plugin from Eclipse, then |
| 689 | perform a fresh installation, using the instructions for <a href="#installing">Installing the ADT |
| 690 | Plugin</a>.</p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 691 | |