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 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 18 | <h2 id="notes">Revisions</h2> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 19 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 20 | <p>The sections below provide notes about successive releases of |
| 21 | the SDK Tools, as denoted by revision number. To determine what revision of the SDK |
| 22 | Tools you are using, refer to the "Installed Packages" listing in the Android SDK |
| 23 | and AVD Manager. </p> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 24 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 25 | <script type="text/javascript"> |
| 26 | function toggleDiv(link) { |
| 27 | var toggleable = $(link).parent(); |
| 28 | if (toggleable.hasClass("closed")) { |
| 29 | //$(".toggleme", toggleable).slideDown("fast"); |
| 30 | toggleable.removeClass("closed"); |
| 31 | toggleable.addClass("open"); |
| 32 | $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png")); |
| 33 | } else { |
| 34 | //$(".toggleme", toggleable).slideUp("fast"); |
| 35 | toggleable.removeClass("open"); |
| 36 | toggleable.addClass("closed"); |
| 37 | $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png")); |
| 38 | } |
| 39 | return false; |
| 40 | } |
| 41 | </script> |
| 42 | <style> |
| 43 | .toggleable { |
| 44 | padding: .25em 1em; |
| 45 | } |
| 46 | .toggleme { |
| 47 | padding: 1em 1em 0 2em; |
| 48 | line-height:1em; |
| 49 | } |
| 50 | .toggleable a { |
| 51 | text-decoration:none; |
| 52 | } |
| 53 | .toggleable.closed .toggleme { |
| 54 | display:none; |
| 55 | } |
| 56 | #jd-content .toggle-img { |
| 57 | margin:0; |
| 58 | } |
| 59 | </style> |
| 60 | <div class="toggleable opened"> |
| 61 | <a href="#" onclick="return toggleDiv(this)"> |
| 62 | <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" /> |
| 63 | SDK Tools, Revision 5</a> <em>(March 2010)</em> |
| 64 | <div class="toggleme"> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 65 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 66 | <dl> |
| 67 | <dt>Dependencies:</dt> |
| 68 | <dd><ul> |
| 69 | <li>If you are developing in Eclipse with ADT, note that SDK Tools r5 is |
| 70 | designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we |
| 71 | highly recommend updating your ADT Plugin to 0.9.6.</li> |
| 72 | <li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer |
| 73 | officially supported. </li> |
| 74 | </ul> |
| 75 | </dd> |
| 76 | |
| 77 | <dt>SDK and AVD Manager:</dt> |
| 78 | <dd> |
| 79 | <ul> |
| 80 | <li>Fixes SSL download for the standalone version of the SDK Updater.</li> |
| 81 | <li>Fixes issue with 64-bit JVM on Windows.</li> |
| 82 | <li>Adds support for platform samples components.</li> |
| 83 | <li>Improves support for dependency between components.</li> |
| 84 | <li>AVDs now sorted by API level.</li> |
| 85 | <li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li> |
| 86 | <li>Prevents deletion of running AVDs.</li> |
| 87 | <li>Settings are now automatically saved, no need to click "Apply".</li> |
| 88 | </ul> |
| 89 | </dd> |
| 90 | |
| 91 | <dt>Emulator:</dt> |
| 92 | <dd> |
| 93 | <ul> |
| 94 | <li>Emulator now requires SD card to be 9MB or more.</li> |
| 95 | </ul> |
| 96 | </dd> |
| 97 | |
| 98 | <dt>Layoutopt:</dt> |
| 99 | <dd> |
| 100 | <ul> |
| 101 | <li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li> |
| 102 | </ul> |
| 103 | </dd> |
| 104 | </dl> |
| 105 | </div> |
| 106 | </div> |
| 107 | |
| 108 | <div class="toggleable closed"> |
| 109 | <a href="#" onclick="return toggleDiv(this)"> |
| 110 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 111 | SDK Tools, Revision 4</a> <em>(December 2009)</em> |
| 112 | <div class="toggleme"> |
| 113 | |
| 114 | <dl> |
| 115 | <dt>Dependencies:</dt> |
| 116 | <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] | 117 | compatible with earlier versions. If you are developing in Eclipse with ADT, you |
| 118 | <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] | 119 | install SDK Tools r4 in your SDK. </p></dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 120 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 121 | <dt>General notes:</dt> |
| 122 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 123 | <ul> |
| 124 | <li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a |
| 125 | compatibility issue between GTK and SWT.</li> |
| 126 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 127 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 128 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 129 | <dt>Android SDK and AVD Manager:</dt> |
| 130 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 131 | <ul> |
| 132 | <li>AVD Launch dialog now shows scale value.</li> |
| 133 | <li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no |
| 134 | skin name specified.</li> |
| 135 | <li>Fixes XML validation issue in on older Java versions.</li> |
| 136 | <li>No longer forces the use of Java 1.5 on Mac OS X.</li> |
| 137 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 138 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 139 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 140 | <dt>Emulator:</dt> |
| 141 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 142 | <ul> |
| 143 | <li>No longer limits the size of the system partition.</li> |
| 144 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 145 | </dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 146 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 147 | <dt>Ant build tools:</dt> |
| 148 | <dd> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 149 | <ul> |
| 150 | <li>.apk packaging now properly ignores vi swap files as well as hidden files.</li> |
| 151 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 152 | </dd> |
| 153 | </dl> |
| 154 | </div> |
| 155 | </div> |
Dirk Dougherty | bca9f1b | 2009-11-18 23:06:16 -0800 | [diff] [blame] | 156 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 157 | <div class="toggleable closed"> |
| 158 | <a href="#" onclick="return toggleDiv(this)"> |
| 159 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
| 160 | SDK Tools, Revision 3</a> <em>(October 2009)</em> |
| 161 | <div class="toggleme"> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 162 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 163 | <dl> |
| 164 | <dt>Dependencies:</dt> |
| 165 | <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] | 166 | compatible with earlier versions. If you are developing in Eclipse with ADT, you |
| 167 | <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] | 168 | install SDK Tools r3 in your SDK.</p> |
| 169 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 170 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 171 | <dt>Android tool:</dt> |
| 172 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 173 | <ul> |
| 174 | <li>Adds new <code>android create test-project</code> and <code>android update |
| 175 | test-project</code> commands to allow for greater flexibility in the location of the |
| 176 | main and test projects.</li> |
| 177 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 178 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 179 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 180 | <dt>DDMS:</dt> |
| 181 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 182 | <ul> |
| 183 | <li>Adds a button to dump HPROF file for running appplications (app must be able |
| 184 | to write to the sdcard).</li> |
| 185 | <li>Button to start/stop profiling of a running application (app must be able to |
| 186 | write to the sdcard). Upon stop, Traceview will automatically be launched to |
| 187 | display the trace.</li> |
| 188 | <li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X |
| 189 | 10.6.</li> |
| 190 | <li>Fixed screenshot support for devices running 32-bit framebuffer.</li> |
| 191 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 192 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 193 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 194 | <dt>Android SDK and AVD Manager:</dt> |
| 195 | <dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 196 | <ul> |
| 197 | <li>Provides a new UI that lets you set options for controlling |
| 198 | the emulator skin, screen size/density, and scale factor used when launching |
| 199 | an AVD.</li> |
| 200 | <li>Provides improved AVD creation UI, which lets you customize the hardware |
| 201 | properties of your AVDs.</li> |
| 202 | <li>Now enforces dependencies between platforms and tools components, and |
| 203 | between SDK add-ons and platforms.</li> |
| 204 | </ul> |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 205 | </dd> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 206 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 207 | <dt>Layoutopt, a new tool for optimizing layouts:</dt> |
Dirk Dougherty | ee58d1b | 2009-10-16 15:25:15 -0700 | [diff] [blame] | 208 | |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 209 | <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] | 210 | tool that helps you optimize your layout hierarchies. When run against your |
| 211 | layout files, the tool analyzes their hierarchies and notifies you of |
| 212 | inefficiencies and other potential issues. The tool also provides simple |
| 213 | solutions for the issues it finds. For usage, see <a |
Dirk Dougherty | 7b229ef | 2010-03-26 17:32:26 -0700 | [diff] [blame] | 214 | href="/guide/developing/tools/layoutopt.html">layoutopt</a>.</p> |
| 215 | </dd> |
| 216 | </dl> |
| 217 | </div> |
| 218 | </div> |