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