• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=SDK Tools
2@jd:body
3
4<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>
6
7<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>
10
11<p>If you are already using the SDK and you want to update to the latest version
12of the SDK Tools, use the <em>Android SDK and AVD Manager</em> to get the
13update, rather than downloading a new SDK starter package. For more information
14about how to update, see <a
15href="{@docRoot}sdk/adding-components.html#UpdatingComponents">Updating SDK
16Components</a>.</p>
17
18
19<h2 id="notes">Revisions</h2>
20
21<p>The sections below provide notes about successive releases of
22the SDK Tools, as denoted by revision number. To determine what revision of the SDK
23Tools you are using, refer to the "Installed Packages" listing in the Android SDK
24and AVD Manager. </p>
25
26<p>For a summary of all known issues in SDK Tools, see <a
27href="http://tools.android.com/knownissues">http://tools.android.com/knownissues</a>.</p>
28
29<script type="text/javascript">
30function toggleDiv(link) {
31  var toggleable = $(link).parent();
32  if (toggleable.hasClass("closed")) {
33    //$(".toggleme", toggleable).slideDown("fast");
34    toggleable.removeClass("closed");
35    toggleable.addClass("open");
36    $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));
37  } else {
38    //$(".toggleme", toggleable).slideUp("fast");
39    toggleable.removeClass("open");
40    toggleable.addClass("closed");
41    $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));
42  }
43  return false;
44}
45</script>
46<style>
47.toggleable {
48padding: .25em 1em;
49}
50.toggleme {
51  padding: 1em 1em 0 2em;
52  line-height:1em;
53}
54.toggleable a {
55  text-decoration:none;
56}
57.toggleme a {
58  text-decoration:underline;
59}
60.toggleable.closed .toggleme {
61  display:none;
62}
63#jd-content .toggle-img {
64  margin:0;
65}
66</style>
67
68
69<div class="toggleable opened">
70  <a href="#" onclick="return toggleDiv(this)">
71    <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
72    width="9px" />SDK Tools, Revision 15</a> <em>(October 2011)</em>
73
74  <div class="toggleme">
75    <p class="caution"><strong>Important:</strong> To download the new Android
76    4.0 system components from the Android SDK Manager, you must first update the
77    SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not,
78    the Android 4.0 system components will not be available for download.</p>
79  <dl>
80<dt>Dependencies:</dt>
81<dd>
82  <ul><li>Android SDK Platform-tools revision 9 or later.</li>
83  <li>If you are developing in Eclipse with ADT, note that the SDK Tools r15 is designed for use
84  with ADT 15.0.0 and later. If you haven't already, we highly recommend updating your <a
85  href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 15.0.0.</li>
86  <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
87  Ant</a> 1.8 or later.</li>
88</ul>
89
90<dt>Bug fixes:</dt>
91<dd>
92  <ul>
93    <li>Fixed emulator crash on Linux due to improper webcam detection
94    (<a href="http://code.google.com/p/android/issues/detail?id=20952">Issue 20952</a>).</li>
95    <li>Fixed emulator issue when using the <code>-wipe-data</code> argument.</li>
96    <li>Fixed build issue when using Renderscript in projects that target API levels 11-13
97    (<a href="http://code.google.com/p/android/issues/detail?id=21006">Issue 21006</a>).</li>
98    <li>Fixed issue when creating an AVD using the GoogleTV addon
99    (<a href="http://code.google.com/p/android/issues/detail?id=20963">Issue 20963</a>).</li>
100    <li>Fixed <code>ant test</code>
101    (<a href="http://code.google.com/p/android/issues/detail?id=20979">Issue 20979</a>).</li>
102    <li>Fixed <code>android update project</code>
103    (<a href="http://code.google.com/p/android/issues/detail?id=20535">Issue 20535</a>).</li>
104    <li>Fixed scrolling issue in the new Logcat panel of DDMS.</li>
105    <li>Fixed issue with MonkeyRunner
106    (<a href="http://code.google.com/p/android/issues/detail?id=20964">Issue 20964</a>).</li>
107    <li>Fixed issues in the SDK Manager
108    (<a href="http://code.google.com/p/android/issues/detail?id=20939">Issue 20939</a>,
109    <a href="http://code.google.com/p/android/issues/detail?id=20607">Issue 20607</a>).</li>
110  </ul>
111</dd>
112</dl>
113</div>
114</div>
115
116<div class="toggleable closed">
117  <a href="#" onclick="return toggleDiv(this)">
118    <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
119    width="9px" />SDK Tools, Revision 14</a> <em>(October 2011)</em>
120
121  <div class="toggleme">
122    <p class="note"><strong>Important:</strong> To download the new Android
123    4.0 system components from the Android SDK Manager, you must first update the
124    SDK tools to revision 14 and restart the Android SDK Manager. If you do not,
125    the Android 4.0 system components will not be available for download.</p>
126  <dl>
127<dt>Dependencies:</dt>
128<dd>
129  <ul><li>Android SDK Platform-tools revision 8 or later.</li>
130  <li>If you are developing in Eclipse with ADT, note that the SDK Tools r14 is designed for use
131  with ADT 14.0.0 and later. If you haven't already, we highly recommend updating your <a
132  href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 14.0.0.</li>
133  <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
134  Ant</a> 1.8 or later.</li>
135</ul>
136
137<dt>General notes:</dt>
138<dd>
139  <ul>
140    <li>Added webcam support to Android 4.0 or later platforms to emulate rear-facing cameras when one webcam is present,
141    and to emulate both rear-facing and front-facing cameras when two webcams are present. Webcam suport is for Windows and Linux only.
142    Mac support will come in a later release.</li>
143     <li>Changed <code>default.properties</code> to <code>project.properties</code> and
144    <code>build.properties</code> to <code>ant.properties</code>. Any existing
145    projects that you build with Ant must be updated with the <code>android update project</code>
146    command.</li>
147    <li>Changed Ant <code>build.xml</code> file to support improvements to the
148    build system and added and modified Ant commands to support these changes. For a list of Ant
149commands, see the
150<a href="{@docRoot}guide/developing/building/building-cmdline.html#AntReference">Ant Command
151Reference</a>.</li>
152    <li>Changed how library projects are built.</a></li>
153    <li>Improved incremental builds, so that resource compilation runs less frequently. Builds no
154    longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer
155    run once for each library project.</li>
156    <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of
157    crunching all existing PNG files, all the time.</li>
158    <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more
159info</a>).</li>
160  </ul>
161  <p>For a complete overview of the build system changes and what you need to do to support them,
162see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project
163site</a>.</p>
164</dd>
165</dl>
166</div>
167</div>
168
169<div class="toggleable closed">
170  <a href="#" onclick="return toggleDiv(this)">
171        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
172        width="9px" />
173SDK Tools, Revision 13</a> <em>(September 2011)</em>
174  <div class="toggleme">
175  <dl>
176<dt>Dependencies:</dt>
177<dd>
178<p>If you are developing in Eclipse with ADT, note that the SDK Tools r13 is designed for use with
179ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
180href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
181
182<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
183Ant</a> 1.8 or later.</p>
184
185<dt>General notes:</dt>
186<dd>
187  <ul>
188    <li>Fix compilation issue in Ant (<code>dex</code> step) when paths have spaces.</li>
189    <li>Fix issue in emulator installation when paths have spaces.</li>
190    <li>Fix issue when AVD paths have spaces.</li>
191    <li>Fix rendering issue when using emulator scaling (<a href="http://code.google.com/p/android/issues/detail?id=18299">see more</a>).</li>
192  </ul>
193</dd>
194</dl>
195</div>
196</div>
197
198
199<div class="toggleable closed">
200  <a href="#" onclick="return toggleDiv(this)">
201        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
202SDK Tools, Revision 12</a> <em>(July 2011)</em>
203  <div class="toggleme">
204  <dl>
205<dt>Dependencies:</dt>
206<dd>
207<p>If you are developing in Eclipse with ADT, note that the SDK Tools r12 is designed for use with
208ADT 12.0.0 and later. If you haven't already, we highly recommend updating your <a
209href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 12.0.0.</p>
210
211<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
212Ant</a> 1.8 or later.</p>
213
214<dt>General notes:</dt>
215<dd>
216  <ul>
217    <li>The AVD manager and emulator can now use system images
218    compiled for ARM v7 and x86 CPUs.</li>
219  </ul>
220</dd>
221</dl>
222</div>
223</div>
224
225<div class="toggleable closed">
226  <a href="#" onclick="return toggleDiv(this)">
227        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
228SDK Tools, Revision 11</a> <em>(May 2011)</em>
229  <div class="toggleme">
230  <dl>
231<dt>Dependencies:</dt>
232<dd>
233<p>If you are developing in Eclipse with ADT, note that the SDK Tools r11 is designed for use with
234ADT 10.0.1 and later. If you haven't already, we highly recommend updating your <a
235href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 10.0.1.</p>
236
237<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
238Ant</a> 1.8 or later.</p>
239
240<dt>General notes:</dt>
241<dd>
242  <ul>
243    <li>Miscellaneous emulator changes to support Android 3.1.</li>
244  </ul>
245</dd>
246</dl>
247</div>
248</div>
249
250
251<div class="toggleable closed">
252  <a href="#" onclick="return toggleDiv(this)">
253        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
254width="9px" />
255SDK Tools, Revision 10</a> <em>(February 2011)</em>
256  <div class="toggleme">
257  <dl>
258<dt>Dependencies:</dt>
259<dd>
260<p>If you are developing in Eclipse with ADT, note that the SDK Tools r10 is
261designed for use with ADT 10.0.0 and later. After installing SDK Tools r10, we
262highly recommend updating your ADT Plugin to 10.0.0.</p>
263
264<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
265Ant</a> 1.8 or later.</p>
266
267<dt>General notes:</dt>
268<dd>
269  <ul>
270    <li>The tools now automatically generate Java Programming Language source files (in the
271<code>gen</code> directory) and
272    bytecode (in the <code>res/raw</code> directory) from your native <code>.rs</code> files</li>
273  </ul>
274</dd>
275</dl>
276</div>
277</div>
278
279
280
281<div class="toggleable closed">
282  <a href="#" onclick="return toggleDiv(this)">
283        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
284SDK Tools, Revision 9</a> <em>(January 2011)</em>
285  <div class="toggleme">
286  <dl>
287<dt>Dependencies:</dt>
288<dd>
289<p>If you are developing in Eclipse with ADT, note that the SDK Tools r9 is
290designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we
291highly recommend updating your ADT Plugin to 9.0.0.</p>
292
293<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
294Ant</a> 1.8 or later.</p>
295
296<dt>Upgrading to SDK Tools r9:</dt>
297<dd>
298<p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location
299for the <code>adb</code> tool has changed from <code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
300<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
301add the new location to your PATH and modify any custom build scripts to
302reference the new location. Copying the <code>adb</code> executable from the new
303location to the old is not recommended, since subsequent updates to the SDK
304Tools will delete the file.</p>
305</dd>
306
307<dt>General notes:</dt>
308<dd>
309  <ul>
310    <li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes:
311      <ul>
312        <li>classes that extend {@link android.preference.Preference}</li>
313        <li>classes that extend {@link android.app.backup.BackupAgentHelper}</li>
314      </ul>
315    </li>
316    <li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>,
317    and <code>java.target</code> properties.</li>
318    <li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li>
319    <li>The LogCat view in DDMS now properly displays UTF-8 characters.</li>
320    <li>The SDK Manager is more reliable on Windows. For details on the improvements, see the
321    <a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li>
322    <li>Early look at the new snapshot feature: To improve startup time for the emulator, you can
323enable snapshots for the system state. The emulator will then restore to the state when it last
324closed almost instantly. <strong>Note:</strong> The snapshot feature is still under active
325development and might not always perform as expected.</li>
326    <li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li>
327    <li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support
328    the new location of <code>adb</code>.</li>
329    <li>Known issues with emulator performance: Because the Android emulator must simulate the ARM
330instruction set architecture on your computer, emulator performance is  slow. We're working hard to
331resolve the performance issues and it will improve in future releases.</li>
332  </ul>
333</dd>
334</dl>
335</div>
336</div>
337
338<div class="toggleable closed">
339  <a href="#" onclick="return toggleDiv(this)">
340        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
341SDK Tools, Revision 8</a> <em>(December 2010)</em>
342  <div class="toggleme">
343
344<dl>
345<dt>Dependencies:</dt>
346<dd>
347<p>If you are developing in Eclipse with ADT, note that SDK Tools r8 is
348designed for use with ADT 8.0.0 and later. After installing SDK Tools r8, we
349highly recommend updating your ADT Plugin to 8.0.0.</p>
350
351<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
352Ant</a> 1.8 or later.</p>
353
354<p>Also note that SDK Tools r8 requires a new SDK component called
355<em>Platform-tools</em>. The new Platform-tools component lets all SDK platforms
356(Android 2.1, Android 2.2, and so on) use the same (latest) version of build
357tools such as <code>adb</code>, <code>aapt</code>, <code>aidl</code>, and
358<code>dx</code>. To download the Platform-tools component, use the Android SDK
359Manager, as described in <a href="adding-components.html">Adding SDK
360Components</a></p>
361
362<dt>Upgrading from SDK Tools r7:</dt>
363<dd>
364<p>If you are upgrading to SDK Tools r8 from an earlier version, note that the
365the default installed location for the <code>adb</code> tool has changed from
366<code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
367<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
368add the new location to your PATH and modify any custom build scripts to
369reference the new location. Copying the <code>adb</code> executable from the new
370location to the old is not recommended, since subsequent updates to the SDK
371Tools will delete the file.</p>
372</dd>
373
374<dt>General notes:</dt>
375<dd>
376<ul>
377<li>All SDK platforms now support Library Projects.</li>
378<li>Support for a true debug build. Developers no longer need to add the
379<code>android:debuggable</code> attribute to the
380<code>&lt;application&gt;</code> tag in the manifest &mdash; the build tools add
381the attribute automatically. In Eclipse/ADT, all incremental builds are assumed
382to be debug builds, so the tools insert <code>android:debuggable="true"</code>.
383When exporting a signed release build, the tools do not add the attribute. In
384Ant, a <code>ant debug</code> command automatically inserts the
385<code>android:debuggable="true"</code> attribute, while <code>ant release</code>
386does not. If <code>android:debuggable="true"</code> is manually set, then
387<code>ant release</code> will actually do a debug build, rather than a release
388build.</li>
389<li>Automatic ProGuard support in release builds. Developers generate a ProGuard
390configuration file using the <code>android</code> tool &mdash; the build tools
391then automatically run ProGuard against the project sources during the build.
392For more information, see the <a
393href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a>
394documentation. </li>
395<li>New overridable Ant javac properties: <code>java.encoding</code>,
396<code>java.source</code>, and <code>java.target</code> (default values are
397"ascii", "1.5", and "1.5", respectively).</li>
398<li>New UI for the HierarchyViewer tool.</li>
399</ul>
400</dd>
401</dl>
402 </div>
403</div>
404
405<div class="toggleable closed">
406  <a href="#" onclick="return toggleDiv(this)">
407        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
408SDK Tools, Revision 7</a> <em>(September 2010)</em>
409  <div class="toggleme">
410
411<dl>
412<dt>Dependencies:</dt>
413<dd>
414<p>If you are developing in Eclipse with ADT, note that SDK Tools r7 is
415designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we
416highly recommend updating your ADT Plugin to 0.9.8.</p>
417</dd>
418
419<dt>General notes:</dt>
420<dd>
421<ul>
422<li>Added support for library projects that depend on other library projects.</li>
423<li>Adds support for aidl files in library projects.</li>
424<li>Adds support for extension targets in Ant build to perform tasks between the
425normal tasks: <code>-pre-build</code>, <code>-pre-compile</code>, and
426<code>-post-compile</code>.</li>
427<li>Adds support for "headless" SDK update. See <code>android -h update sdk</code>
428for more information.</li>
429<li>Fixes location control in DDMS to work in any locale not using '.' as a
430decimal point.</li>
431</li>
432</ul>
433</dd>
434</dl>
435 </div>
436</div>
437
438<div class="toggleable closed">
439  <a href="#" onclick="return toggleDiv(this)">
440        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
441SDK Tools, Revision 6</a> <em>(May 2010)</em>
442  <div class="toggleme">
443
444<dl>
445<dt>Dependencies:</dt>
446<dd>
447<p>If you are developing in Eclipse with ADT, note that SDK Tools r6 is
448designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we
449highly recommend updating your ADT Plugin to 0.9.7.</p>
450</dd>
451
452<dt>Library projects:</dt>
453<dd>
454<p>The SDK Tools now support the use of <em>library projects</em> during
455development, a capability that lets you store shared Android application
456code and resources in a separate development project. You can then reference the
457library project from other Android projects and, at build time, the tools
458compile the shared code and resources as part of the dependent applications.
459More information about this feature is available in the <a
460href="{@docRoot}guide/developing/projects/index.html#LibraryProjects">Creating and Managing Projects</a> document.</p>
461<p>If you are developing in Eclipse, <a href="eclipse-adt.html">ADT</a>
462provides the equivalent library project support.</p>
463</dd>
464</dl>
465 </div>
466</div>
467
468<div class="toggleable closed">
469  <a href="#" onclick="return toggleDiv(this)">
470        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
471SDK Tools, Revision 5</a> <em>(March 2010)</em>
472  <div class="toggleme">
473
474<dl>
475<dt>Dependencies:</dt>
476<dd><ul>
477<li>If you are developing in Eclipse with ADT, note that SDK Tools r5 is
478designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we
479highly recommend updating your ADT Plugin to 0.9.6.</li>
480<li>For Mac OS platforms, OS X 10.4.x (Tiger) is no longer
481officially supported. </li>
482</ul>
483</dd>
484
485<dt>SDK and AVD Manager:</dt>
486<dd>
487<ul>
488<li>Fixes SSL download for the standalone version of the SDK Updater.</li>
489<li>Fixes issue with 64-bit JVM on Windows.</li>
490<li>Adds support for platform samples components.</li>
491<li>Improves support for dependency between components.</li>
492<li>AVDs now sorted by API level.</li>
493<li>The AVD creation dialog now enforces a minimum SD card size of 9MB.</li>
494<li>Prevents deletion of running AVDs.</li>
495<li>Settings are now automatically saved, no need to click "Apply".</li>
496</ul>
497</dd>
498
499<dt>Emulator:</dt>
500<dd>
501<ul>
502<li>Emulator now requires SD card to be 9MB or more.</li>
503</ul>
504</dd>
505
506<dt>Layoutopt:</dt>
507<dd>
508<ul>
509<li>Fixes <code>layoutopt.bat</code> to execute correctly on Windows.</li>
510</ul>
511</dd>
512</dl>
513 </div>
514</div>
515
516<div class="toggleable closed">
517  <a href="#" onclick="return toggleDiv(this)">
518        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
519SDK Tools, Revision 4</a> <em>(December 2009)</em>
520  <div class="toggleme">
521
522<dl>
523<dt>Dependencies:</dt>
524<dd><p>SDK Tools r4 is compatible with ADT 0.9.5 and later, but not
525compatible with earlier versions. If you are developing in Eclipse with ADT, you
526<strong>must</strong> update your ADT plugin to version 0.9.5 or higher if you
527install SDK Tools r4 in your SDK. </p></dd>
528
529<dt>General notes:</dt>
530<dd>
531<ul>
532<li>Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a
533compatibility issue between GTK and SWT.</li>
534</ul>
535</dd>
536
537<dt>Android SDK and AVD Manager:</dt>
538<dd>
539<ul>
540<li>AVD Launch dialog now shows scale value.</li>
541<li>Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no
542skin name specified.</li>
543<li>Fixes XML validation issue in on older Java versions.</li>
544<li>No longer forces the use of Java 1.5 on Mac OS X.</li>
545</ul>
546</dd>
547
548<dt>Emulator:</dt>
549<dd>
550<ul>
551<li>No longer limits the size of the system partition.</li>
552</ul>
553</dd>
554
555<dt>Ant build tools:</dt>
556<dd>
557<ul>
558<li>.apk packaging now properly ignores vi swap files as well as hidden files.</li>
559</ul>
560</dd>
561</dl>
562 </div>
563</div>
564
565<div class="toggleable closed">
566  <a href="#" onclick="return toggleDiv(this)">
567        <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
568SDK Tools, Revision 3</a> <em>(October 2009)</em>
569  <div class="toggleme">
570
571<dl>
572<dt>Dependencies:</dt>
573<dd><p>SDK Tools r3 is compatible with ADT 0.9.4 and later, but not
574compatible with earlier versions. If you are developing in Eclipse with ADT, you
575<strong>must</strong> update your ADT plugin to version 0.9.4 or higher if you
576install SDK Tools r3 in your SDK.</p>
577</dd>
578
579<dt>Android tool:</dt>
580<dd>
581<ul>
582<li>Adds new <code>android create test-project</code> and <code>android update
583test-project</code> commands to allow for greater flexibility in the location of the
584main and test projects.</li>
585</ul>
586</dd>
587
588<dt>DDMS:</dt>
589<dd>
590<ul>
591<li>Adds a button to dump HPROF file for running applications (app must be able
592to write to the sdcard).</li>
593<li>Button to start/stop profiling of a running application (app must be able to
594write to the sdcard). Upon stop, Traceview will automatically be launched to
595display the trace.</li>
596<li>Fixed DDMS, Traceview, and the AVD Mananger/SDK Updater to run on Mac OS X
59710.6.</li>
598<li>Fixed screenshot support for devices running 32-bit framebuffer.</li>
599</ul>
600</dd>
601
602<dt>Android SDK and AVD Manager:</dt>
603<dd>
604<ul>
605<li>Provides a new UI that lets you set options for controlling
606the emulator skin, screen size/density, and scale factor used when launching
607an AVD.</li>
608<li>Provides improved AVD creation UI, which lets you customize the hardware
609properties of your AVDs.</li>
610<li>Now enforces dependencies between platforms and tools components, and
611between SDK add-ons and platforms.</li>
612</ul>
613</dd>
614
615<dt>Layoutopt, a new tool for optimizing layouts:</dt>
616
617<dd><p>The SDK Tools r3 package includes <code>layoutopt</code>, a new command-line
618tool that helps you optimize your layout hierarchies. When run against your
619layout files, the tool analyzes their hierarchies and notifies you of
620inefficiencies and other potential issues. The tool also provides simple
621solutions for the issues it finds. For usage, see <a
622href="/guide/developing/tools/layoutopt.html">layoutopt</a>.</p>
623</dd>
624</dl>
625 </div>
626</div>
627