Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 1 | page.title=SDK Tools |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 2 | @jd:body |
| 3 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 4 | <p>SDK Tools is a downloadable component for the Android SDK. It includes the |
| 5 | complete set of development and debugging tools for the Android SDK. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 6 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 7 | <p>If you are new to the Android SDK, the <a |
| 8 | href="{@docRoot}sdk/index.html">SDK starter package</a> installs the |
| 9 | latest revision of the SDK Tools in the <code><sdk>/tools</code> directory.</p> |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 10 | |
Dirk Dougherty | 5c2a502 | 2009-12-17 16:59:46 -0800 | [diff] [blame] | 11 | <p>If you are already using the SDK and you want to update to the latest version |
| 12 | of the SDK Tools, use the <em>Android SDK and AVD Manager</em> to get the |
| 13 | update, rather than downloading a new SDK starter package. For more information |
| 14 | about how to update, see <a |
| 15 | href="{@docRoot}sdk/adding-components.html#UpdatingComponents">Updating SDK |
| 16 | Components</a>. </p> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 17 | |
Robert Ly | edc2aac | 2011-01-14 16:25:09 -0800 | [diff] [blame] | 18 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 19 | <h2 id="notes">Revisions</h2> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 20 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 21 | <p>The sections below provide notes about successive releases of |
| 22 | the SDK Tools, as denoted by revision number. To determine what revision of the SDK |
| 23 | Tools you are using, refer to the "Installed Packages" listing in the Android SDK |
| 24 | and AVD Manager. </p> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 25 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 26 | <script type="text/javascript"> |
| 27 | function toggleDiv(link) { |
| 28 | var toggleable = $(link).parent(); |
| 29 | if (toggleable.hasClass("closed")) { |
| 30 | //$(".toggleme", toggleable).slideDown("fast"); |
| 31 | toggleable.removeClass("closed"); |
| 32 | toggleable.addClass("open"); |
| 33 | $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png")); |
| 34 | } else { |
| 35 | //$(".toggleme", toggleable).slideUp("fast"); |
| 36 | toggleable.removeClass("open"); |
| 37 | toggleable.addClass("closed"); |
| 38 | $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png")); |
| 39 | } |
| 40 | return false; |
| 41 | } |
| 42 | </script> |
| 43 | <style> |
| 44 | .toggleable { |
| 45 | padding: .25em 1em; |
| 46 | } |
| 47 | .toggleme { |
| 48 | padding: 1em 1em 0 2em; |
| 49 | line-height:1em; |
| 50 | } |
| 51 | .toggleable a { |
| 52 | text-decoration:none; |
| 53 | } |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 54 | .toggleme a { |
| 55 | text-decoration:underline; |
| 56 | } |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 57 | .toggleable.closed .toggleme { |
| 58 | display:none; |
| 59 | } |
| 60 | #jd-content .toggle-img { |
| 61 | margin:0; |
| 62 | } |
| 63 | </style> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 64 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 65 | <div class="toggleable opened"> |
| 66 | <a href="#" onclick="return toggleDiv(this)"> |
| 67 | <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" /> |
Robert Ly | edc2aac | 2011-01-14 16:25:09 -0800 | [diff] [blame] | 68 | SDK Tools, Revision 9</a> <em>(January 2011)</em> |
| 69 | <div class="toggleme"> |
| 70 | <dl> |
| 71 | <dt>Dependencies:</dt> |
| 72 | <dd> |
| 73 | <p>If you are developing in Eclipse with ADT, note that the SDK Tools r9 is |
| 74 | designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we |
| 75 | highly recommend updating your ADT Plugin to 9.0.0.</p> |
| 76 | |
| 77 | <p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 78 | Ant</a> 1.8 or later.</p> |
| 79 | |
| 80 | <dt>Upgrading to SDK Tools r9:</dt> |
| 81 | <dd> |
| 82 | <p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location |
| 83 | for the <code>adb</code> tool has changed from <code><<em>SDK</em>>/tools/adb</code> to |
| 84 | <code><<em>SDK</em>>/platform-tools/adb</code>. This means that you should |
| 85 | add the new location to your PATH and modify any custom build scripts to |
| 86 | reference the new location. Copying the <code>adb</code> executable from the new |
| 87 | location to the old is not recommended, since subsequent updates to the SDK |
| 88 | Tools will delete the file.</p> |
| 89 | </dd> |
| 90 | |
| 91 | <dt>General notes:</dt> |
| 92 | <dd> |
| 93 | <ul> |
| 94 | <li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes: |
| 95 | <ul> |
| 96 | <li>classes that extend {@link android.preference.Preference}</li> |
| 97 | <li>classes that extend {@link android.app.backup.BackupAgentHelper}</li> |
| 98 | </ul> |
| 99 | </li> |
| 100 | <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>, |
| 101 | and <code>java.target</code> properties.</li> |
| 102 | <li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li> |
| 103 | <li>The LogCat view in DDMS now properly displays UTF-8 characters.</li> |
| 104 | <li>The SDK Manager is more reliable on Windows. For details on the improvements, see the |
| 105 | <a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li> |
Scott Main | f9af301 | 2011-01-27 11:26:29 -0800 | [diff] [blame] | 106 | <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can |
| 107 | enable snapshots for the system state. The emulator will then restore to the state when it last |
| 108 | closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active |
| 109 | development and might not always perform as expected.</li> |
Robert Ly | edc2aac | 2011-01-14 16:25:09 -0800 | [diff] [blame] | 110 | <li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li> |
| 111 | <li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support |
| 112 | the new location of <code>adb</code>.</li> |
Scott Main | 04f04b2 | 2011-01-21 19:11:23 -0800 | [diff] [blame] | 113 | <li>Known issues with emulator performance: Because the Android emulator must simulate the ARM |
| 114 | instruction set architecture on your computer, emulator performance is slow. We're working hard to |
| 115 | resolve the performance issues and it will improve in future releases.</li> |
Robert Ly | edc2aac | 2011-01-14 16:25:09 -0800 | [diff] [blame] | 116 | </ul> |
| 117 | </dd> |
| 118 | </dl> |
| 119 | </div> |
| 120 | </div> |
| 121 | |
| 122 | <div class="toggleable closed"> |
| 123 | <a href="#" onclick="return toggleDiv(this)"> |
| 124 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 9f7580d | 2010-10-26 09:29:03 -0700 | [diff] [blame] | 125 | SDK Tools, Revision 8</a> <em>(December 2010)</em> |
| 126 | <div class="toggleme"> |
| 127 | |
| 128 | <dl> |
| 129 | <dt>Dependencies:</dt> |
| 130 | <dd> |
| 131 | <p>If you are developing in Eclipse with ADT, note that SDK Tools r8 is |
| 132 | designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we |
| 133 | highly recommend updating your ADT Plugin to 8.0.0.</p> |
| 134 | |
Scott Main | 92b0308 | 2010-12-14 17:55:27 -0800 | [diff] [blame] | 135 | <p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache |
| 136 | Ant</a> 1.8 or later.</p> |
| 137 | |
Dirk Dougherty | 9f7580d | 2010-10-26 09:29:03 -0700 | [diff] [blame] | 138 | <p>Also note that SDK Tools r8 requires a new SDK component called |
| 139 | <em>Platform-tools</em>. The new Platform-tools component lets all SDK platforms |
| 140 | (Android 2.1, Android 2.2, and so on) use the same (latest) version of build |
| 141 | tools such as <code>adb</code>, <code>aapt</code>, <code>aidl</code>, and |
| 142 | <code>dx</code>. To download the Platform-tools component, use the Android SDK |
| 143 | Manager, as described in <a href="adding-components.html">Adding SDK |
| 144 | Components</a></p> |
| 145 | |
| 146 | <dt>Upgrading from SDK Tools r7:</dt> |
| 147 | <dd> |
| 148 | <p>If you are upgrading to SDK Tools r8 from an earlier version, note that the |
| 149 | the default installed location for the <code>adb</code> tool has changed from |
| 150 | <code><<em>SDK</em>>/tools/adb</code> to |
| 151 | <code><<em>SDK</em>>/platform-tools/adb</code>. This means that you should |
| 152 | add the new location to your PATH and modify any custom build scripts to |
| 153 | reference the new location. Copying the <code>adb</code> executable from the new |
| 154 | location to the old is not recommended, since subsequent updates to the SDK |
| 155 | Tools will delete the file.</p> |
| 156 | </dd> |
| 157 | |
| 158 | <dt>General notes:</dt> |
| 159 | <dd> |
| 160 | <ul> |
| 161 | <li>All SDK platforms now support Library Projects.</li> |
| 162 | <li>Support for a true debug build. Developers no longer need to add the |
| 163 | <code>android:debuggable</code> attribute to the |
| 164 | <code><application></code> tag in the manifest — the build tools add |
| 165 | the attribute automatically. In Eclipse/ADT, all incremental builds are assumed |
| 166 | to be debug builds, so the tools insert <code>android:debuggable="true"</code>. |
| 167 | When exporting a signed release build, the tools do not add the attribute. In |
| 168 | Ant, a <code>ant debug</code> command automatically inserts the |
| 169 | <code>android:debuggable="true"</code> attribute, while <code>ant release</code> |
| 170 | does not. If <code>android:debuggable="true"</code> is manually set, then |
| 171 | <code>ant release</code> will actually do a debug build, rather than a release |
| 172 | build.</li> |
| 173 | <li>Automatic ProGuard support in release builds. Developers generate a ProGuard |
| 174 | configuration file using the <code>android</code> tool — the build tools |
| 175 | then automatically run ProGuard against the project sources during the build. |
| 176 | For more information, see the <a |
| 177 | href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a> |
| 178 | documentation. </li> |
| 179 | <li>New overridable Ant javac properties: <code>java.encoding</code>, |
| 180 | <code>java.source</code>, and <code>java.target</code> (default values are |
| 181 | "ascii", "1.5", and "1.5", respectively).</li> |
| 182 | <li>New UI for the HierarchyViewer tool.</li> |
| 183 | </ul> |
| 184 | </dd> |
| 185 | </dl> |
| 186 | </div> |
| 187 | </div> |
| 188 | |
| 189 | <div class="toggleable closed"> |
| 190 | <a href="#" onclick="return toggleDiv(this)"> |
| 191 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 022171b | 2010-07-30 19:24:17 -0700 | [diff] [blame] | 192 | SDK Tools, Revision 7</a> <em>(September 2010)</em> |
| 193 | <div class="toggleme"> |
| 194 | |
| 195 | <dl> |
| 196 | <dt>Dependencies:</dt> |
| 197 | <dd> |
| 198 | <p>If you are developing in Eclipse with ADT, note that SDK Tools r7 is |
| 199 | designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we |
| 200 | highly recommend updating your ADT Plugin to 0.9.8.</p> |
| 201 | </dd> |
| 202 | |
| 203 | <dt>General notes:</dt> |
| 204 | <dd> |
| 205 | <ul> |
| 206 | <li>Added support for library projects that depend on other library projects.</li> |
| 207 | <li>Adds support for aidl files in library projects.</li> |
| 208 | <li>Adds support for extension targets in Ant build to perform tasks between the |
| 209 | normal tasks: <code>-pre-build</code>, <code>-pre-compile</code>, and |
| 210 | <code>-post-compile</code>.</li> |
| 211 | <li>Adds support for "headless" SDK update. See <code>android -h update sdk</code> |
| 212 | for more information.</li> |
| 213 | <li>Fixes location control in DDMS to work in any locale not using '.' as a |
| 214 | decimal point.</li> |
| 215 | </li> |
| 216 | </ul> |
| 217 | </dd> |
| 218 | </dl> |
| 219 | </div> |
| 220 | </div> |
| 221 | |
| 222 | <div class="toggleable closed"> |
| 223 | <a href="#" onclick="return toggleDiv(this)"> |
| 224 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 225 | SDK Tools, Revision 6</a> <em>(May 2010)</em> |
| 226 | <div class="toggleme"> |
| 227 | |
| 228 | <dl> |
| 229 | <dt>Dependencies:</dt> |
| 230 | <dd> |
| 231 | <p>If you are developing in Eclipse with ADT, note that SDK Tools r6 is |
| 232 | designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we |
| 233 | highly recommend updating your ADT Plugin to 0.9.7.</p> |
| 234 | </dd> |
| 235 | |
| 236 | <dt>Library projects:</dt> |
| 237 | <dd> |
| 238 | <p>The SDK Tools now support the use of <em>library projects</em> during |
| 239 | development, a capability that lets you store shared Android application |
| 240 | code and resources in a separate development project. You can then reference the |
| 241 | library project from other Android projects and, at build time, the tools |
| 242 | compile the shared code and resources as part of the dependent applications. |
| 243 | More information about this feature is available in the <a |
Robert Ly | c74a69a8 | 2011-01-04 22:48:02 -0800 | [diff] [blame] | 244 | href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document.</p> |
| 245 | <p>If you are developing in Eclipse, <a href="eclipse-adt.html">ADT</a> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 246 | provides the equivalent library project support.</p> |
| 247 | </dd> |
| 248 | </dl> |
| 249 | </div> |
| 250 | </div> |
| 251 | |
| 252 | <div class="toggleable closed"> |
| 253 | <a href="#" onclick="return toggleDiv(this)"> |
Dirk Dougherty | 74a74d3 | 2010-09-09 18:40:13 -0700 | [diff] [blame] | 254 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 255 | SDK Tools, Revision 5</a> <em>(March 2010)</em> |
| 256 | <div class="toggleme"> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 257 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 258 | <dl> |
| 259 | <dt>Dependencies:</dt> |
| 260 | <dd><ul> |
| 261 | <li>If you are developing in Eclipse with ADT, note that SDK Tools r5 is |
| 262 | designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we |
| 263 | highly recommend updating your ADT Plugin to 0.9.6.</li> |
| 264 | <li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer |
| 265 | officially supported. </li> |
| 266 | </ul> |
| 267 | </dd> |
| 268 | |
| 269 | <dt>SDK and AVD Manager:</dt> |
| 270 | <dd> |
| 271 | <ul> |
| 272 | <li>Fixes SSL download for the standalone version of the SDK Updater.</li> |
| 273 | <li>Fixes issue with 64-bit JVM on Windows.</li> |
| 274 | <li>Adds support for platform samples components.</li> |
| 275 | <li>Improves support for dependency between components.</li> |
| 276 | <li>AVDs now sorted by API level.</li> |
| 277 | <li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li> |
| 278 | <li>Prevents deletion of running AVDs.</li> |
| 279 | <li>Settings are now automatically saved, no need to click "Apply".</li> |
| 280 | </ul> |
| 281 | </dd> |
| 282 | |
| 283 | <dt>Emulator:</dt> |
| 284 | <dd> |
| 285 | <ul> |
| 286 | <li>Emulator now requires SD card to be 9MB or more.</li> |
| 287 | </ul> |
| 288 | </dd> |
| 289 | |
| 290 | <dt>Layoutopt:</dt> |
| 291 | <dd> |
| 292 | <ul> |
| 293 | <li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li> |
| 294 | </ul> |
| 295 | </dd> |
| 296 | </dl> |
| 297 | </div> |
| 298 | </div> |
| 299 | |
| 300 | <div class="toggleable closed"> |
| 301 | <a href="#" onclick="return toggleDiv(this)"> |
| 302 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 303 | SDK Tools, Revision 4</a> <em>(December 2009)</em> |
| 304 | <div class="toggleme"> |
| 305 | |
| 306 | <dl> |
| 307 | <dt>Dependencies:</dt> |
| 308 | <dd><p>SDK Tools r4 is compatible with ADT 0.9.5 and later, but not |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 309 | compatible with earlier versions. If you are developing in Eclipse with ADT, you |
| 310 | <strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 311 | install SDK Tools r4 in your SDK. </p></dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 312 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 313 | <dt>General notes:</dt> |
| 314 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 315 | <ul> |
| 316 | <li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a |
| 317 | compatibility issue between GTK and SWT.</li> |
| 318 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 319 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 320 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 321 | <dt>Android SDK and AVD Manager:</dt> |
| 322 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 323 | <ul> |
| 324 | <li>AVD Launch dialog now shows scale value.</li> |
| 325 | <li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no |
| 326 | skin name specified.</li> |
| 327 | <li>Fixes XML validation issue in on older Java versions.</li> |
| 328 | <li>No longer forces the use of Java 1.5 on Mac OS X.</li> |
| 329 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 330 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 331 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 332 | <dt>Emulator:</dt> |
| 333 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 334 | <ul> |
| 335 | <li>No longer limits the size of the system partition.</li> |
| 336 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 337 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 338 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 339 | <dt>Ant build tools:</dt> |
| 340 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 341 | <ul> |
| 342 | <li>.apk packaging now properly ignores vi swap files as well as hidden files.</li> |
| 343 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 344 | </dd> |
| 345 | </dl> |
| 346 | </div> |
| 347 | </div> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 348 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 349 | <div class="toggleable closed"> |
| 350 | <a href="#" onclick="return toggleDiv(this)"> |
| 351 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 352 | SDK Tools, Revision 3</a> <em>(October 2009)</em> |
| 353 | <div class="toggleme"> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 354 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 355 | <dl> |
| 356 | <dt>Dependencies:</dt> |
| 357 | <dd><p>SDK Tools r3 is compatible with ADT 0.9.4 and later, but not |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 358 | compatible with earlier versions. If you are developing in Eclipse with ADT, you |
| 359 | <strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 360 | install SDK Tools r3 in your SDK.</p> |
| 361 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 362 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 363 | <dt>Android tool:</dt> |
| 364 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 365 | <ul> |
| 366 | <li>Adds new <code>android create test-project</code> and <code>android update |
| 367 | test-project</code> commands to allow for greater flexibility in the location of the |
| 368 | main and test projects.</li> |
| 369 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 370 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 371 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 372 | <dt>DDMS:</dt> |
| 373 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 374 | <ul> |
| 375 | <li>Adds a button to dump HPROF file for running appplications (app must be able |
| 376 | to write to the sdcard).</li> |
| 377 | <li>Button to start/stop profiling of a running application (app must be able to |
| 378 | write to the sdcard). Upon stop, Traceview will automatically be launched to |
| 379 | display the trace.</li> |
| 380 | <li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X |
| 381 | 10.6.</li> |
| 382 | <li>Fixed screenshot support for devices running 32-bit framebuffer.</li> |
| 383 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 384 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 385 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 386 | <dt>Android SDK and AVD Manager:</dt> |
| 387 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 388 | <ul> |
| 389 | <li>Provides a new UI that lets you set options for controlling |
| 390 | the emulator skin, screen size/density, and scale factor used when launching |
| 391 | an AVD.</li> |
| 392 | <li>Provides improved AVD creation UI, which lets you customize the hardware |
| 393 | properties of your AVDs.</li> |
| 394 | <li>Now enforces dependencies between platforms and tools components, and |
| 395 | between SDK add-ons and platforms.</li> |
| 396 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 397 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 398 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 399 | <dt>Layoutopt, a new tool for optimizing layouts:</dt> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 400 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 401 | <dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line |
Dirk Dougherty | bf15ce6 | 2009-10-23 19:17:12 -0700 | [diff] [blame] | 402 | tool that helps you optimize your layout hierarchies. When run against your |
| 403 | layout files, the tool analyzes their hierarchies and notifies you of |
| 404 | inefficiencies and other potential issues. The tool also provides simple |
| 405 | solutions for the issues it finds. For usage, see <a |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 406 | href="/guide/developing/tools/layoutopt.html">layoutopt</a>.</p> |
| 407 | </dd> |
| 408 | </dl> |
| 409 | </div> |
| 410 | </div> |