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