blob: 3db226f54932c6072ca16198330f0b0baa116b66 [file] [log] [blame]
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07001page.title=SDK Tools
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07002@jd:body
3
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07004<p>SDK Tools is a downloadable component for the Android SDK. It includes the
5complete set of development and debugging tools for the Android SDK. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -07006
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07007<p>If you are new to the Android SDK, the <a
8href="{@docRoot}sdk/index.html">SDK starter package</a> installs the
9latest revision of the SDK Tools in the <code>&lt;sdk&gt;/tools</code> directory.</p>
Dirk Doughertybf15ce62009-10-23 19:17:12 -070010
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070011<p>If you are already using the SDK Tools, you should update to the latest revision by
12using the Android SDK and AVD Manager (rather than by downloading a new SDK package).
13For more information about how to update, see <a
14href="{@docRoot}sdk/adding-components.html#UpdatingComponents">Adding SDK Components</a>. </p>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -070015
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070016<h2 id="notes">Revisions</h2>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -080017
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070018<p>The sections below provide notes about successive releases of
19the SDK Tools, as denoted by revision number. To determine what revision of the SDK
20Tools you are using, refer to the "Installed Packages" listing in the Android SDK
21and AVD Manager. </p>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -080022
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070023<script type="text/javascript">
24function 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 {
42padding: .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" />
61SDK Tools, Revision 5</a> <em>(March 2010)</em>
62 <div class="toggleme">
Dirk Doughertybca9f1b2009-11-18 23:06:16 -080063
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070064<dl>
65<dt>Dependencies:</dt>
66<dd><ul>
67<li>If you are developing in Eclipse with ADT, note that SDK Tools r5 is
68designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we
69highly 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
71officially 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" />
109SDK 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 Doughertybca9f1b2009-11-18 23:06:16 -0800115compatible 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 Dougherty7b229ef2010-03-26 17:32:26 -0700117install SDK Tools r4 in your SDK. </p></dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800118
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700119<dt>General notes:</dt>
120<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800121<ul>
122<li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a
123compatibility issue between GTK and SWT.</li>
124</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700125</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800126
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700127<dt>Android SDK and AVD Manager:</dt>
128<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800129<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
132skin 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 Dougherty7b229ef2010-03-26 17:32:26 -0700136</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800137
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700138<dt>Emulator:</dt>
139<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800140<ul>
141<li>No longer limits the size of the system partition.</li>
142</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700143</dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800144
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700145<dt>Ant build tools:</dt>
146<dd>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800147<ul>
148<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
149</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700150</dd>
151</dl>
152 </div>
153</div>
Dirk Doughertybca9f1b2009-11-18 23:06:16 -0800154
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700155<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" />
158SDK Tools, Revision 3</a> <em>(October 2009)</em>
159 <div class="toggleme">
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700160
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700161<dl>
162<dt>Dependencies:</dt>
163<dd><p>SDK Tools r3 is compatible with ADT 0.9.4 and later, but not
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700164compatible 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 Dougherty7b229ef2010-03-26 17:32:26 -0700166install SDK Tools r3 in your SDK.</p>
167</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700168
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700169<dt>Android tool:</dt>
170<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700171<ul>
172<li>Adds new <code>android create test-project</code> and <code>android update
173test-project</code> commands to allow for greater flexibility in the location of the
174main and test projects.</li>
175</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700176</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700177
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700178<dt>DDMS:</dt>
179<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700180<ul>
181<li>Adds a button to dump HPROF file for running appplications (app must be able
182to write to the sdcard).</li>
183<li>Button to start/stop profiling of a running application (app must be able to
184write to the sdcard). Upon stop, Traceview will automatically be launched to
185display the trace.</li>
186<li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X
18710.6.</li>
188<li>Fixed screenshot support for devices running 32-bit framebuffer.</li>
189</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700190</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700191
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700192<dt>Android SDK and AVD Manager:</dt>
193<dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700194<ul>
195<li>Provides a new UI that lets you set options for controlling
196the emulator skin, screen size/density, and scale factor used when launching
197an AVD.</li>
198<li>Provides improved AVD creation UI, which lets you customize the hardware
199properties of your AVDs.</li>
200<li>Now enforces dependencies between platforms and tools components, and
201between SDK add-ons and platforms.</li>
202</ul>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700203</dd>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700204
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700205<dt>Layoutopt, a new tool for optimizing layouts:</dt>
Dirk Doughertyee58d1b2009-10-16 15:25:15 -0700206
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700207<dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line
Dirk Doughertybf15ce62009-10-23 19:17:12 -0700208tool that helps you optimize your layout hierarchies. When run against your
209layout files, the tool analyzes their hierarchies and notifies you of
210inefficiencies and other potential issues. The tool also provides simple
211solutions for the issues it finds. For usage, see <a
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700212href="/guide/developing/tools/layoutopt.html">layoutopt</a>.</p>
213</dd>
214</dl>
215 </div>
216</div>